-
-
Notifications
You must be signed in to change notification settings - Fork 80
Other Docstring improvements #998
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #998 +/- ##
=======================================
Coverage 88.12% 88.12%
=======================================
Files 9 9
Lines 4857 4857
=======================================
Hits 4280 4280
Misses 577 577 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| default, doc, and precedence all default to None, which allows | ||
| inheritance of Parameter slots (attributes) from the owning-class' | ||
| class hierarchy (see ParameterizedMetaclass). | ||
| def __init__( # pylint: disable-msg=R0913 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have like to type annotate Parameter.__init__ but because of the overloading and use of Undefined for example the type annotation of doc would become Union[str, None, _Undefined]. I'm not really sure that is helpful to users? But maybe we should define DocType=Union[str, None, _Undefined] and then use that in the ~40 places we need to use that type?
…/holoviz/param into enhancements/docs-rest
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
…/holoviz/param into enhancement/docs-param-namespace
…/holoviz/param into enhancements/docs-rest

Starts from #997. Please review that one first.