-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix check for stdlib dataclasses #11822
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
- Rename function to `is_stdlib_dataclass()` - Instead of hacking around with annotations, check the cls' `__dict__` - Update docstring, return type
Explicitly add support for converting stdlib dataclasses Markup fixes Simplify example
PR Change SummaryUpdated the documentation for Pydantic's dataclasses to clarify usage and improve examples.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
Deploying pydantic-docs with
|
| Latest commit: |
f90cacd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6529be49.pydantic-docs.pages.dev |
| Branch Preview URL: | https://dataclass-sub.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 #11822 will not alter performanceComparing Summary
|
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!
Change Summary
Fixes #11816, closes #11818.
Related issue number
Checklist