Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve signatures in helicity module #242

Merged
merged 7 commits into from
Feb 24, 2022

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Feb 24, 2022

Note: it's not yet possible to abbreviate type aliases in nested type hints. Sphinx will fix this (sphinx-doc/sphinx#10183) in v4.5.0. This will also make it possible to improve the order of definitions in the helicity module (makes more sense to define HelicityModel first). See also ComPWA/.github#5.

@redeboer redeboer added the 📝 Docs Improvements or additions to documentation label Feb 24, 2022
@redeboer redeboer added this to the 0.12.4 milestone Feb 24, 2022
@redeboer redeboer self-assigned this Feb 24, 2022
@redeboer redeboer marked this pull request as ready for review February 24, 2022 11:04
@redeboer redeboer merged commit 09ca25b into ComPWA:main Feb 24, 2022
@redeboer redeboer deleted the improve-signatures branch February 24, 2022 11:24
redeboer added a commit that referenced this pull request Feb 25, 2022
* chore: rename __mapping to __parameters
* chore: simplify get/setitem implementation of ParameterValues
* ci: ignore _all_ .tmp files with sphinx-autobuild
* docs: abbreviate ParameterValue type alias where possible
* docs: improve get/setitem argument signatures in API
* docs: show ParameterValues.__setitem__() in API
* fix: improve signature HelicityModel components and kinematic_variables arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant