fix: Logic for showing extension in Global Nav (#19158)

* fix logic for checking extensions

* add specific types

* fix lint
This commit is contained in:
Hugh A. Miles II
2022-03-16 14:39:08 -07:00
committed by GitHub
parent bb618a47ff
commit 181ecf4509
4 changed files with 15 additions and 13 deletions

View File

@@ -71,7 +71,7 @@ class AsyncQueryManager:
def __init__(self) -> None:
super().__init__()
self._redis: redis.Redis # type: ignore
self._redis: redis.Redis
self._stream_prefix: str = ""
self._stream_limit: Optional[int]
self._stream_limit_firehose: Optional[int]