From be8629929bf58e41984b46d52ac7f33565bfaf0a Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Fri, 8 Nov 2024 21:41:52 +0000 Subject: [PATCH] modify self_pairs type to ChainMap --- piker/brokers/deribit/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/deribit/api.py b/piker/brokers/deribit/api.py index b663d470..6f8f659d 100644 --- a/piker/brokers/deribit/api.py +++ b/piker/brokers/deribit/api.py @@ -270,7 +270,7 @@ class Client: json_rpc: Callable ) -> None: - self._pairs: dict[str, Any] = None + self._pairs: ChainMap[str, Pair] = ChainMap() config = get_config().get('option', {})