eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.19k stars 723 forks source link

subscribe.simple: Fix MQTTv5 clean_session collision #707

Closed lnksz closed 9 months ago

lnksz commented 1 year ago

Even though the top level clean_session parameter is documented as boolean, one would need to pass in None to get the simple() method to not error out with v5 protocol.

(Client raises if with v5 the clean_session parameter is not None)

PierreF commented 9 months ago

Thank for your contribution. For your contribution to be accepted, you will need to sign Eclipse ECA: https://accounts.eclipse.org/user/eca

lnksz commented 9 months ago

signed.

PierreF commented 9 months ago

Thank. The automated check seem to don't want to re-run, but a manual check confirm that you signed the ECA.