Skip to content

Commit 6416e5c

Browse files
Update types.py
1 parent 057500c commit 6416e5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web3/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
Timestamp = NewType("Timestamp", int)
6767
Wei = NewType("Wei", int)
6868
Gwei = NewType("Gwei", int)
69-
Formatters = Dict[RPCEndpoint, Callable[..., Any]]
69+
RequestFormatter = Callable[..., TReturn]
70+
RequestFormatters = Dict[RPCEndpoint, RequestFormatter[TReturn]]
7071

7172

7273
class AccessListEntry(TypedDict):

0 commit comments

Comments
 (0)