summaryrefslogtreecommitdiff
path: root/examples/memory_transport.py
diff options
context:
space:
mode:
authorMarcelo Trylesinski <marcelotryle@gmail.com>2022-04-14 13:02:52 +0200
committerAsif Saif Uddin <auvipy@gmail.com>2022-04-15 14:16:57 +0600
commit7516daf7a774dd9671d16c475c6ac266de977a0a (patch)
tree2ea3d3cca1201943b26aaa162bf9eaa01d5d3542 /examples/memory_transport.py
parenta93099b671f83ed5a3f723198cb821041ca5e13e (diff)
downloadkombu-7516daf7a774dd9671d16c475c6ac266de977a0a.tar.gz
Bump pyupgrade version and add __future__.annotations import
Diffstat (limited to 'examples/memory_transport.py')
-rw-r--r--examples/memory_transport.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/memory_transport.py b/examples/memory_transport.py
index 8d667b81..e25cc898 100644
--- a/examples/memory_transport.py
+++ b/examples/memory_transport.py
@@ -1,6 +1,8 @@
"""
Example that use memory transport for message produce.
"""
+from __future__ import annotations
+
import time
from kombu import Connection, Consumer, Exchange, Queue