From 4faeede09da961986141e15cd11f288e5c497215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 13 Nov 2024 18:25:25 +0100 Subject: [PATCH] fixed docs --- coolamqp/objects.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/coolamqp/objects.py b/coolamqp/objects.py index b8b3f5c..b1547e4 100644 --- a/coolamqp/objects.py +++ b/coolamqp/objects.py @@ -283,14 +283,14 @@ class Queue(object): __slots__ = ('name', 'durable', 'exchange', 'auto_delete', 'exclusive', 'anonymous', 'consumer_tag', 'arguments', 'routing_key', 'arguments_bind') - def __init__(self, name=None, # type: tp.Union[str, bytes, None] + def __init__(self, name=None, # type: Union[str, bytes, None] durable=False, # type: bool - exchange=None, # type: tp.Optional[Exchange] + exchange=None, # type: Optional[Exchange] exclusive=True, # type: bool auto_delete=True, # type: bool - arguments=None, # type: tp.Union[tp.List[bytes, tp.Any], tp.Dict[str, tp.Any]], - routing_key=b'', #: type: tp.Union[str, bytes] - arguments_bind=None, + arguments=None, # type: Union[List[bytes, Any], Dict[str, Any]], + routing_key=b'', # type: Union[str, bytes] + arguments_bind=None, # type: Optional[Dict] ): """ :param name: name of the queue. -- GitLab