Don't cache pairs in _get_pairs call
parent
5a0d29c774
commit
ea21656624
|
@ -268,9 +268,6 @@ class Client:
|
||||||
async def _get_pairs(
|
async def _get_pairs(
|
||||||
self,
|
self,
|
||||||
) -> dict[str, KucoinMktPair]:
|
) -> dict[str, KucoinMktPair]:
|
||||||
if self._pairs:
|
|
||||||
return self._pairs
|
|
||||||
|
|
||||||
entries = await self._request('GET', '/symbols')
|
entries = await self._request('GET', '/symbols')
|
||||||
syms = {item['name']: KucoinMktPair(**item) for item in entries}
|
syms = {item['name']: KucoinMktPair(**item) for item in entries}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue