We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccaf5e0 commit a643cdeCopy full SHA for a643cde
web3/module.py
@@ -185,6 +185,14 @@ async def caller(
185
class Module:
186
is_async = False
187
188
+ @overload
189
+ def __init__(self, w3: "AsyncWeb3") -> None:
190
+ ...
191
+
192
193
+ def __init__(self, w3: "Web3") -> None:
194
195
196
def __init__(self, w3: Union["AsyncWeb3", "Web3"]) -> None:
197
if self.is_async:
198
self.retrieve_caller_fn = retrieve_async_method_call_fn(w3, self)
0 commit comments