diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 0196f57bd406c8bc8a9b19276367d98d5f979cd7..f1201edc50fe2d1406d95eeec0556f80a19a0956 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -25,6 +25,7 @@ Cluster instances are used to interface with the cluster (or a single broker). I accepts a list of nodes: :: + from coolamqp.clustering import Cluster cluster = Cluster([node]) cluster.start(wait=True) @@ -86,5 +87,5 @@ To actually get our message, we need to start a consumer first. To do that, just Where kwargs are passed directly to Consumer class -.. autoclass: coolamqp.attaches.Consumer -:members: +.. autoclass:: coolamqp.attaches.Consumer + :members: