Skip to content

Commit b377d20

Browse files
Update types.py
1 parent ba0d358 commit b377d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web3/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
Timestamp = NewType("Timestamp", int)
6767
Wei = NewType("Wei", int)
6868
Gwei = NewType("Gwei", int)
69-
RequestFormatter = Callable[..., TReturn]
70-
RequestFormatters = Dict[RPCEndpoint, RequestFormatter[Any]]
69+
Formatter = Callable[TParams, TReturn]
70+
Formatters = Dict[RPCEndpoint, Formatter[Any]]
7171
ResponseFormatter = Callable[["RPCResponse"], TReturn]
7272
ResponseFormatters = Dict[RPCEndpoint, ResponseFormatter[Any]]
7373

0 commit comments

Comments
 (0)