Skip to content

pybricks.hubs: add top/front side explanation to docstrings of Hub constructors#171

Closed
kai-morich wants to merge 1 commit into
pybricks:masterfrom
kai-morich:master
Closed

pybricks.hubs: add top/front side explanation to docstrings of Hub constructors#171
kai-morich wants to merge 1 commit into
pybricks:masterfrom
kai-morich:master

Conversation

@kai-morich
Copy link
Copy Markdown
Contributor

The top_side / front_side parameters at the Hub constructors were difficult to understand. Was obvious after reading https://github.com/orgs/pybricks/discussions/2402. Then I also noticed the explanation e.g. (with the buttons) in the documentation.
By adding to docstrings this explanation is also available with VS Code parameter tool tips.

@kai-morich kai-morich changed the title add top/front side explanation to docstrings of Hub constructors pybricks.hubs: add top/front side explanation to docstrings of Hub constructors May 23, 2026
@kai-morich kai-morich closed this May 23, 2026
@kai-morich
Copy link
Copy Markdown
Contributor Author

was already visible in VS Code tooltips in the function description, so no need to duplicate to parameter description

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.

1 participant