Skip to content

Commit 2ce4f09

Browse files
author
brentru
committed
satisfy sphinx
1 parent 55d85a6 commit 2ce4f09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,14 +417,20 @@ def publish(self, topic, msg, retain=False, qos=0):
417417
:param float msg: Data to send to the broker.
418418
:param bool retain: Whether the message is saved by the broker.
419419
:param int qos: Quality of Service level for the message.
420+
420421
Example of sending an integer, 3, to the broker on topic 'piVal'.
421422
.. code-block:: python
423+
422424
mqtt_client.publish('topics/piVal', 3)
425+
423426
Example of sending a float, 3.14, to the broker on topic 'piVal'.
424427
.. code-block:: python
428+
425429
mqtt_client.publish('topics/piVal', 3.14)
430+
426431
Example of sending a string, 'threepointonefour', to the broker on topic piVal.
427432
.. code-block:: python
433+
428434
mqtt_client.publish('topics/piVal', 'threepointonefour')
429435
"""
430436
self.is_connected()

0 commit comments

Comments
 (0)