From b03b22d051403fe865c255122aa9e0669522b2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 30 Oct 2020 17:54:01 +0100 Subject: [PATCH] fix typing --- coolamqp/__init__.py | 2 +- coolamqp/attaches/consumer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coolamqp/__init__.py b/coolamqp/__init__.py index 13a2f75..0588f2a 100644 --- a/coolamqp/__init__.py +++ b/coolamqp/__init__.py @@ -1 +1 @@ -__version__ = '1.2.10_a1' +__version__ = '1.2.10_a2' diff --git a/coolamqp/attaches/consumer.py b/coolamqp/attaches/consumer.py index d5f0c14..d597b89 100644 --- a/coolamqp/attaches/consumer.py +++ b/coolamqp/attaches/consumer.py @@ -172,7 +172,7 @@ class Consumer(Channeler): self.method(BasicQos(prefetch_size or 0, prefetch_count, False)) self.qos = prefetch_size or 0, prefetch_count - def cancel(self): # type: () -> None + def cancel(self): # type: () -> Future """ Cancel the customer. -- GitLab