search_symbols output type fix
parent
960298514c
commit
ac6f52088a
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue