search_symbols output type fix

jsonrpc_err_in_rent_task
Nelson Torres 2024-11-08 21:48:28 +00:00
parent 960298514c
commit ac6f52088a
1 changed files with 2 additions and 2 deletions

View File

@ -436,12 +436,12 @@ class Client:
self, self,
pattern: str, pattern: str,
limit: int = 30, limit: int = 30,
) -> dict[str, Any]: ) -> dict[str, Pair]:
''' '''
Fuzzy search symbology set for pairs matching `pattern`. 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( matches: dict[str, Pair] = match_from_pairs(
pairs=pairs, pairs=pairs,
query=pattern.upper(), query=pattern.upper(),