diff options
author | Devaev Maxim <[email protected]> | 2020-10-13 13:50:01 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-13 13:50:01 +0300 |
commit | c6524fc7ac3a271a91fef994a9a9529940337596 (patch) | |
tree | 5cef560dfac73d4143df893e0a5be21e344222a8 /kvmd/aiogp.py | |
parent | 51ac65d542e041c4f75f0428fe4e84a10ef1c356 (diff) |
typing fixes
Diffstat (limited to 'kvmd/aiogp.py')
-rw-r--r-- | kvmd/aiogp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/aiogp.py b/kvmd/aiogp.py index d4652d53..ba406e8d 100644 --- a/kvmd/aiogp.py +++ b/kvmd/aiogp.py @@ -21,7 +21,6 @@ import asyncio -import asyncio.queues import threading import dataclasses @@ -147,7 +146,7 @@ class _DebouncedValue: self.__notifier = notifier self.__loop = loop - self.__queue: asyncio.queues.Queue = asyncio.Queue(loop=loop) + self.__queue: "asyncio.Queue[bool]" = asyncio.Queue(loop=loop) self.__task = loop.create_task(self.__consumer_task_loop()) def set(self, value: bool) -> None: |