Stop using generic typing for asyncio.Queue.

This feature isn't available in all versions of Python.
This commit is contained in:
Dave Shawley 2021-07-21 12:23:53 -04:00
parent 10d95519a3
commit 589412693e
No known key found for this signature in database
GPG key ID: F41A8A99298F8EED

View file

@ -486,7 +486,7 @@ class Processor:
logger: logging.Logger
protocol: typing.Optional[StatsdProtocol]
queue: asyncio.Queue[bytes]
queue: asyncio.Queue
_create_transport: typing.Callable[[], typing.Coroutine[
typing.Any, typing.Any, typing.Tuple[asyncio.BaseTransport,
StatsdProtocol]]]