-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add support for doc attribute on dataclass fields
#12077
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
Deploying pydantic-docs with
|
| Latest commit: |
0bf9bb0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://aa0b6ac4.pydantic-docs.pages.dev |
| Branch Preview URL: | https://dataclass-field-doc.pydantic-docs.pages.dev |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||
CodSpeed Performance ReportMerging #12077 will not alter performanceComparing Summary
|
| assert child.y == 1 | ||
|
|
||
|
|
||
| def test_kw_only_inheritance_on_field() -> None: |
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.
This would previously fail with an unhandled exception with 3.9. Although it doesn't make sense to use it in 3.9 (and we could add a warning -- not worth the effort as we'll drop support for it soon), still better to not hard error.
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.
LGTM with tiny test suggestion
Change Summary
Introduced in python/cpython#114051.
Related issue number
Checklist