MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / publish

Function publish

projects/MQTT Client/MqttClient.py:45–46  ·  view source on GitHub ↗
(client, msg="Hello MQTT")

Source from the content-addressed store, hash-verified

43
44# Publishing messages with MQTT
45def publish(client, msg="Hello MQTT"):
46 result = client.publish(TOPIC, msg)
47
48
49if __name__ == "__main__":

Callers 1

MqttClient.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected