Closed
Description
The method signature of MQTT.add_topic_callback(..)
on line 367 of adafruit_minimqtt.py is:
def add_topic_callback(self, mqtt_topic, callback_method):
"""Registers a callback_method for a specific MQTT topic.
:param str mqtt_topic: MQTT topic identifier.
:param str callback_method: Name of callback method.
"""
As you can see, the docstring indicates that both method arguments are strings. I believe this is an error though. Shouldn't the second argument callback_method
be a method instead of a string?
Metadata
Metadata
Assignees
Labels
No labels