migrate paho.mqtt CallbackAPIVersion to VERSION2 (#225)

This commit is contained in:
Stefan Allius
2024-12-02 22:49:56 +01:00
committed by GitHub
parent 9bae905c08
commit 28cf875533
30 changed files with 5129 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ def test_native_client(test_hostname, test_port):
import paho.mqtt.client as mqtt
import threading
c = mqtt.Client()
c = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2)
c.loop_start()
try:
# Just make sure the client connects successfully