summaryrefslogtreecommitdiff
path: root/examples/hello_consumer.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/hello_consumer.py
parenta93099b671f83ed5a3f723198cb821041ca5e13e (diff)
downloadkombu-7516daf7a774dd9671d16c475c6ac266de977a0a.tar.gz
Bump pyupgrade version and add __future__.annotations import
Diffstat (limited to 'examples/hello_consumer.py')
-rw-r--r--examples/hello_consumer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello_consumer.py b/examples/hello_consumer.py
index 3a0d9f06..38b2b61d 100644
--- a/examples/hello_consumer.py
+++ b/examples/hello_consumer.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
from kombu import Connection
with Connection('amqp://guest:guest@localhost:5672//') as conn: