Add type hint for Logging._queue
This commit is contained in:
parent
312293b221
commit
f77c443ac1
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Log(object):
|
|||
warn_handler.setFormatter(formatter)
|
||||
self.logger.addHandler(warn_handler)
|
||||
|
||||
self._queue = queue.Queue()
|
||||
self._queue = queue.Queue() # type: queue.Queue[typing.Tuple[str, typing.List, int, typing.Dict]]
|
||||
self._thread = threading.Thread(target=self._loop)
|
||||
self._thread.daemon = True
|
||||
self._thread.start()
|
||||
|
|
Loading…
Reference in a new issue