Closed vladak closed 1 year ago
I'd like to pass an object to the callback functions. There is a weak-private attribute _user_data that is set to None in the __init__ function https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/blob/0e5bb0c5a1e25c339131a9d7699f40f6b39fe190/adafruit_minimqtt/adafruit_minimqtt.py#L178 however there does not seem any public way to set it.
_user_data
None
__init__
I'd like to pass an object to the callback functions. There is a weak-private attribute
_user_data
that is set toNone
in the__init__
function https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/blob/0e5bb0c5a1e25c339131a9d7699f40f6b39fe190/adafruit_minimqtt/adafruit_minimqtt.py#L178 however there does not seem any public way to set it.