umqtt.robust: let reconnect() call the connect() method of the top class#669
Conversation
|
@andrewleech, if you had a moment to review + comment, I'd appreciate it. |
|
Those examples look great! |
|
Anything else I ought to do / address before this can go forward for merge? |
8d4503b to
1d1f6ac
Compare
|
Hey guys, any chance we can progress this to merge? If there's anything else to do beforehand, let me know. |
|
@andrewleech, @dpgeorge, you guys seem like the people to be pestered! 🤣 (sorry). Are there reasons this PR shouldn't progress? If there's anything more I should do, please do tell. |
|
Just polling to see if this can go ahead. |
|
This change allows Currently, using This PR does assume that Happy to leave as-is if the intention is to keep |
Follow up to commit 5dad29e. Add a comment on how to override the `connect()` method by a subclass, and provide examples: `example_lwt_robust.py` and `example_resubscribe_robust.py`. Co-authored by: Ian Cotter-Llewellyn <ian_llewellyn@hotmail.com> Date: Thu May 25 11:42:20 2023 +0100
1d1f6ac to
3b51e30
Compare
|
This is now rebased and merged. Thanks @ian-llewellyn for persisting with this for so long 👍 |
This allows overriding of the
connect()method by a subclass as per the included examples:example_lwt_robust.pyandexample_resubscribe_robust.py.Fixes #186, #321 (by enabling
example_resubscribe_robust.py)Supersedes PR #195 (original source file moved, examples added)