Skip to content

Commit f254255

Browse files
Update method.py
1 parent 093ef7a commit f254255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web3/method.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Web3ValueError,
3232
)
3333
from web3.types import (
34-
RequestFormatter,
34+
Formatter,
3535
ResponseFormatter,
3636
RPCEndpoint,
3737
TFunc,
@@ -124,7 +124,7 @@ def __init__(
124124
json_rpc_method: Optional[RPCEndpoint] = None,
125125
mungers: Optional[Sequence[Munger]] = None,
126126
request_formatters: Optional[
127-
Callable[[RPCEndpoint], RequestFormatter[Any]]
127+
Callable[[RPCEndpoint], Formatter[Any]]
128128
] = None,
129129
result_formatters: Optional[
130130
Callable[[RPCEndpoint, "Module"], ResponseFormatter[TReturn]]

0 commit comments

Comments
 (0)