Add check_untyped_defs (#15510)
* Add check_untyped_defs * Change to regular if-else
This commit is contained in:
1 parent
7d7c2104ea
commit
24d2261060
15 files changed
+70
-44
No files matched your search
@@ -29,7 +29,7 @@ class AsyncHandler(object):
|
||||
"""Initialize async logging handler wrapper."""
|
||||
self.handler = handler
|
||||
self.loop = loop
|
||||
self._queue = asyncio.Queue(loop=loop)
|
||||
self._queue = asyncio.Queue(loop=loop) # type: asyncio.Queue
|
||||
self._thread = threading.Thread(target=self._process)
|
||||
|
||||
# Delegate from handler
|
||||
|
||||
Reference in new issue
Block a user