From 589412693e40d12a54f5c9a2a91569cb769560db Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Wed, 21 Jul 2021 12:23:53 -0400 Subject: [PATCH] Stop using generic typing for asyncio.Queue. This feature isn't available in all versions of Python. --- sprockets_statsd/statsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sprockets_statsd/statsd.py b/sprockets_statsd/statsd.py index 9571c2c..01d3121 100644 --- a/sprockets_statsd/statsd.py +++ b/sprockets_statsd/statsd.py @@ -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]]]