mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 13:00:11 +00:00
Migrate legacy typehints in core to PEP-526 (#26403)
* Migrate legacy typehints in core to PEP-526 * Fix one type
This commit is contained in:
committed by
Paulus Schoutsen
parent
2dc90be94f
commit
2f0eb07624
@@ -34,7 +34,7 @@ class AsyncHandler:
|
||||
"""Initialize async logging handler wrapper."""
|
||||
self.handler = handler
|
||||
self.loop = loop
|
||||
self._queue = asyncio.Queue(loop=loop) # type: asyncio.Queue
|
||||
self._queue: asyncio.Queue = asyncio.Queue(loop=loop)
|
||||
self._thread = threading.Thread(target=self._process)
|
||||
|
||||
# Delegate from handler
|
||||
|
||||
Reference in New Issue
Block a user