summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMischa Spiegelmock <revmischa@cpan.org>2017-04-13 22:22:18 -0700
committerAsif Saifuddin Auvi <auvipy@users.noreply.github.com>2017-04-14 11:22:18 +0600
commit129a9e4ed05bf9a99d12fff9e17c9ffb37b14c4d (patch)
treec4eea532ea4ca84dee0049ab4304d86f0cc73ab7 /examples
parentbf820b20b022556c72402565f0ae50124017d6fe (diff)
downloadkombu-129a9e4ed05bf9a99d12fff9e17c9ffb37b14c4d.tar.gz
Switching to boto3 only (#693)
* Switch Boto2 to Boto3 for SQS messaging * Fixed region support * Add SQS FIFO queue support * Add sensible defaults for message attributes * Asynchronous support, plus boto3 for region endpoint lookups * Clean up imports * Fix Python 2 support * Fix receive_message tests * Reformat docstring * boto3 import changes for CI * skip tests if boto3 not installed * skip tests if boto3 not installed * flake8 * noboto * ditching boto2. got queue URL fetching, async HTTP request generation and signing working. * request signing working kinda * async parsing of SQS message response more or less working * botocore sqs dep * ripping out more old boto2 stuff * removing tests that are no longer valid with boto3/SQS * fix boto3 dep, min version and no botocore * no boto2 for test * cleaning up some SQS tests. fixing header parsing of response to msg * fixing some sqs tests * removing response-parsing tests that are no longer necessary as we're using the botocore response parsing machinery instead of implementing SAX parsing in kombu. * fixing more SQS tests * wants a region * trying to fix py2 parsing of sqs message * lint * py2/py2 message header parsing stupidness * forgot * python 2 sux * flake8 * Import boto3 from the right place * Changes * Update encode fuction * Fix lint * remove some unused things * removing unused stuff * ugh * ugh * ugh * landscape ignoring * shut up, landscape
Diffstat (limited to 'examples')
-rw-r--r--examples/hello_consumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello_consumer.py b/examples/hello_consumer.py
index 5722450e..71f40f13 100644
--- a/examples/hello_consumer.py
+++ b/examples/hello_consumer.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import, unicode_literals, print_function
-from kombu import Connection
+from kombu import Connection # noqa
with Connection('amqp://guest:guest@localhost:5672//') as conn: