search_symbols output type fix

pull/8/head
Nelson Torres 2024-11-08 21:48:28 +00:00
parent 1c433e7bda
commit f3d810f3ef
1 changed files with 2 additions and 2 deletions

View File

@ -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(),