Skip to content

fix: replace __init__ with __all__ in a01 traits - #920

Open
allenporter wants to merge 1 commit into
Python-roborock:mainfrom
allenporter:fix_init_all_exports
Open

fix: replace __init__ with __all__ in a01 traits#920
allenporter wants to merge 1 commit into
Python-roborock:mainfrom
allenporter:fix_init_all_exports

Conversation

@allenporter

Copy link
Copy Markdown
Contributor

Description

Fix typo in roborock/devices/traits/a01/__init__.py where __init__ was used instead of __all__.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes an export-list typo in the A01 traits package so the module correctly defines __all__ rather than a mistaken __init__ symbol, ensuring from ... import * behavior matches intent.

Changes:

  • Replace an incorrect __init__ = [...] declaration with __all__ = [...] in roborock/devices/traits/a01/__init__.py.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for freeto 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

@allenporter