From dbdde2c619ce926214662c6ac847c20fbe2d4fe0 Mon Sep 17 00:00:00 2001 From: bdhimes Date: Wed, 8 Oct 2025 22:35:33 +0200 Subject: [PATCH] Updates the type hint on ws_shutdown_timer in RetryAsyncSubstrate to match that of AsyncSubstrateInterface. --- async_substrate_interface/substrate_addons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async_substrate_interface/substrate_addons.py b/async_substrate_interface/substrate_addons.py index 4f2412f..3b0f0ba 100644 --- a/async_substrate_interface/substrate_addons.py +++ b/async_substrate_interface/substrate_addons.py @@ -264,7 +264,7 @@ def __init__( _mock: bool = False, _log_raw_websockets: bool = False, archive_nodes: Optional[list[str]] = None, - ws_shutdown_timer: float = 5.0, + ws_shutdown_timer: Optional[float] = 5.0, ): fallback_chains = fallback_chains or [] archive_nodes = archive_nodes or []