Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.2k
Do not use the previous config from the stack for dataclasses without config#10576
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
cloudflare-workers-and-pagesbot commentedOct 8, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Deploying pydantic-docs with |
Latest commit: | db5e36c |
Status: | ✅ Deploy successful! |
Preview URL: | https://f5fda88c.pydantic-docs.pages.dev |
Branch Preview URL: | https://dataclass-config-bug.pydantic-docs.pages.dev |
codspeed-hqbot commentedOct 8, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
CodSpeed Performance ReportMerging#10576 willnot 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.
Good find, thanks!
github-actionsbot commentedOct 8, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Maybe we add a test demonstrating that this is not allowed? @dataclasses.dataclassclassDC:a:ArbitraryTypeb:strclassModel(BaseModel):model_config=ConfigDict(arbitrary_types_allowed=True)dc:DCother:str |
ce91077
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Change Summary
Also fixed in#10530 but in a separate PR for a cleaner commit history.
Related issue number
Checklist