Skip to content

Commit 225f27e

Browse files
authored
Correct type of FilterParams.address (#1664)
* Correct type of FilterParams.address * Add changelog entry
1 parent dc09a21 commit 225f27e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

newsfragments/1664.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct the type annotations of `FilterParams.address`

web3/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class FormattersDict(TypedDict, total=False):
136136

137137

138138
class FilterParams(TypedDict, total=False):
139-
address: Union[Address, ChecksumAddress, List[ChecksumAddress]]
139+
address: Union[Address, ChecksumAddress, List[Address], List[ChecksumAddress]]
140140
blockHash: HexBytes
141141
fromBlock: BlockIdentifier
142142
toBlock: BlockIdentifier

0 commit comments

Comments
 (0)