Skip to content

Conversation

@MarcSkovMadsen
Copy link
Collaborator

Starts from #997. Please review that one first.

@codecov
Copy link

codecov bot commented Dec 29, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.12%. Comparing base (b95d476) to head (d86ca22).
⚠️ Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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
Copy link
Collaborator Author

@MarcSkovMadsen MarcSkovMadsen Dec 29, 2024

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?

image

@maximlt maximlt added this to the v2.3.0 milestone Aug 1, 2025
@maximlt maximlt merged commit 143abc8 into main Sep 23, 2025
17 checks passed
@maximlt maximlt deleted the enhancements/docs-rest branch September 23, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants