From 14f6e18ba40ae9939fe4df3a6e086960a97dc37d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 3 Jan 2020 16:34:49 +0100 Subject: [PATCH] docs fixed --- coolamqp/clustering/__init__.py | 8 ++------ docs/tutorial.rst | 3 ++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/coolamqp/clustering/__init__.py b/coolamqp/clustering/__init__.py index 3258579..d6f7a0a 100644 --- a/coolamqp/clustering/__init__.py +++ b/coolamqp/clustering/__init__.py @@ -5,12 +5,8 @@ to broker with an uniform interface. """ from __future__ import print_function, absolute_import, division -import logging - -logger = logging.getLogger(__name__) - -__all__ = ('Cluster') - from coolamqp.clustering.cluster import Cluster from coolamqp.clustering.events import MessageReceived, NothingMuch, \ ConnectionLost + +__all__ = ['Cluster', 'MessageReceived', 'NothingMuch', 'ConnectionLost'] diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 7bfea42..e86aeaa 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -30,10 +30,11 @@ accepts a list of nodes: cluster = Cluster([node]) cluster.start(wait=True) +*wait=True* will block until connection is completed. After this, you can use other methods. + .. autoclass:: coolamqp.clustering.Cluster :members: -*wait=True* will block until connection is completed. After this, you can use other methods. Publishing and consuming ------------------------ -- GitLab