From ac6f52088a831378e4534c325994e269ceebd5d5 Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Fri, 8 Nov 2024 21:48:28 +0000 Subject: [PATCH] search_symbols output type fix --- piker/brokers/deribit/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/brokers/deribit/api.py b/piker/brokers/deribit/api.py index 3237540c..12e0944f 100644 --- a/piker/brokers/deribit/api.py +++ b/piker/brokers/deribit/api.py @@ -436,12 +436,12 @@ class Client: self, pattern: str, limit: int = 30, - ) -> dict[str, Any]: + ) -> dict[str, Pair]: ''' Fuzzy search symbology set for pairs matching `pattern`. ''' - pairs: dict[str, Any] = await self.symbol_info() + pairs: dict[str, Pair] = await self.symbol_info() matches: dict[str, Pair] = match_from_pairs( pairs=pairs, query=pattern.upper(),