From 1f9a4976378f863193572a0b64a5dba5e4aaf672 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 15 Dec 2023 16:01:31 -0500 Subject: [PATCH] Fixup symcache annot for kucoin as well --- piker/brokers/kucoin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index dc6daa08..28524a22 100755 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -41,7 +41,6 @@ from typing import ( import wsproto from uuid import uuid4 -from rapidfuzz import process as fuzzy from trio_typing import TaskStatus import asks from bidict import bidict @@ -416,8 +415,7 @@ class Client: await self.get_mkt_pairs() assert self._pairs, '`Client.get_mkt_pairs()` was never called!?' - - matches: dict[str, Pair] = match_from_pairs( + matches: dict[str, KucoinMktPair] = match_from_pairs( pairs=self._pairs, # query=pattern.upper(), query=pattern.upper(),