@@ -158,7 +158,7 @@ def __init__(
158
158
retry_forever = retry_forever ,
159
159
_mock = _mock ,
160
160
archive_endpoints = archive_endpoints ,
161
- ws_shutdown_timer = websocket_shutdown_timer
161
+ ws_shutdown_timer = websocket_shutdown_timer ,
162
162
)
163
163
if self .log_verbose :
164
164
logging .info (
@@ -298,7 +298,7 @@ def _get_substrate(
298
298
retry_forever : bool = False ,
299
299
_mock : bool = False ,
300
300
archive_endpoints : Optional [list [str ]] = None ,
301
- ws_shutdown_timer : float = 5.0
301
+ ws_shutdown_timer : float = 5.0 ,
302
302
) -> Union [AsyncSubstrateInterface , RetryAsyncSubstrate ]:
303
303
"""Creates the Substrate instance based on provided arguments.
304
304
@@ -327,7 +327,7 @@ def _get_substrate(
327
327
chain_name = "Bittensor" ,
328
328
_mock = _mock ,
329
329
archive_nodes = archive_endpoints ,
330
- ws_shutdown_timer = ws_shutdown_timer
330
+ ws_shutdown_timer = ws_shutdown_timer ,
331
331
)
332
332
return AsyncSubstrateInterface (
333
333
url = self .chain_endpoint ,
@@ -336,7 +336,7 @@ def _get_substrate(
336
336
use_remote_preset = True ,
337
337
chain_name = "Bittensor" ,
338
338
_mock = _mock ,
339
- ws_shutdown_timer = ws_shutdown_timer
339
+ ws_shutdown_timer = ws_shutdown_timer ,
340
340
)
341
341
342
342
# Subtensor queries ===========================================================================================
0 commit comments