⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

chore: remove level of inheritance in mqtt client#286

Merged
humbertogontijo merged 1 commit intoPython-roborock:mainfrom
allenporter:mqtt-inheritance
Jan 13, 2025
Merged

chore: remove level of inheritance in mqtt client#286
humbertogontijo merged 1 commit intoPython-roborock:mainfrom
allenporter:mqtt-inheritance

Conversation

@allenporter
Copy link
Contributor

Pull the overrides related to the MQTT client library into a separate class, to avoid a level of inheritance. This makes it more clear which methods are part of the interaction with the MQTT client vs which are part of other base classes. It also makes it clear which overrides are MQTT client library specific vs part of the other parent classes.

Issue #228

Copy link
Collaborator

@humbertogontijo humbertogontijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was a nice touch. Thanks

@humbertogontijo humbertogontijo merged commit 5add0da into Python-roborock:main Jan 13, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants