Skip to content

Commit 3c9e61d

Browse files
chore: fix mypy errs
1 parent cffc5aa commit 3c9e61d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web3/module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ def retrieve_request_information_for_batching(
8585
Callable[..., Tuple[RequestArgs, ResponseFormatters[Any]]],
8686
Callable[..., Coroutine[Any, Any, Tuple[RequestArgs, ResponseFormatters[Any]]]],
8787
]:
88-
response_formatters: ResponseFormatters[Any]
89-
9088
async def async_inner(
9189
*args: Any, **kwargs: Any
9290
) -> Tuple[RequestArgs, ResponseFormatters[Any]]:
91+
response_formatters: ResponseFormatters[Any]
9392
(method_str, params), response_formatters = method.process_params(
9493
module, *args, **kwargs
9594
)
@@ -100,6 +99,7 @@ async def async_inner(
10099
return (method_str, params), response_formatters
101100

102101
def inner(*args: Any, **kwargs: Any) -> Tuple[RequestArgs, ResponseFormatters[Any]]:
102+
response_formatters: ResponseFormatters[Any]
103103
(method_str, params), response_formatters = method.process_params(
104104
module, *args, **kwargs
105105
)

0 commit comments

Comments
 (0)