Skip to content
Snippets Groups Projects
Commit 8758fffd authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

argumentify added

parent 754627b1
No related branches found
No related tags found
No related merge requests found
Pipeline #63913 passed with stages
in 2 minutes and 28 seconds
......@@ -187,7 +187,7 @@ class Cluster(object):
"""
Start consuming from a queue.
args and kwargs will be passed to Consumer constructor (coolamqp.attaches.consumer.Consumer).
args and kwargs will be passed to Consumer constructor.
Don't use future_to_notify - it's done here!
Take care not to lose the Consumer object - it's the only way to cancel a consumer!
......
......@@ -8,14 +8,13 @@ Cluster-related things
:members:
.. note:: If environment variable :code:`COOLAMQP_FORCE_SELECT_LISTENER` is defined, select will be used instead of epoll.
This will automatically use select if epoll is not available (eg. Windows).
.. autoclass:: coolamqp.attaches.consumer.BodyReceiveMode
:members:
.. autoclass:: coolamqp.attaches.consumer.Consumer
:members:
:undoc-members:
Please note that :meth:`coolamqp.clustering.Cluster.consume` passes lot of it's
args and kwargs directly to the :class:`coolamqp.attaches.consumer.Consumer`.
......@@ -23,19 +22,19 @@ args and kwargs directly to the :class:`coolamqp.attaches.consumer.Consumer`.
Extra objects
-------------
.. class:: coolamqp.objects.Message
.. autoclass:: coolamqp.objects.Message
:members:
.. class:: coolamqp.objects.ReceivedMessage
.. autoclass:: coolamqp.objects.ReceivedMessage
:members:
.. class:: coolamqp.objects.MessageProperties
.. autoclass:: coolamqp.objects.MessageProperties
:members:
.. class:: coolamqp.objects.Queue
.. autoclass:: coolamqp.objects.Queue
:members:
.. class:: coolamqp.objects.Exchange
.. autoclass:: coolamqp.objects.Exchange
:members:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment