Skip to content
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

Allow __pydantic_config__ to be used on vanilla dataclasses #6008

Merged
merged 6 commits into from
Jun 5, 2023

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Jun 5, 2023

cc @dmontagu

Selected Reviewer: @samuelcolvin

@adriangb adriangb changed the title Allow to be used on vanilla dataclasses Allow __pydantic_config__ to be used on vanilla dataclasses Jun 5, 2023
@adriangb
Copy link
Member Author

adriangb commented Jun 5, 2023

please review

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 5, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cb2b0a2
Status: ✅  Deploy successful!
Preview URL: https://8fdd1527.pydantic-docs2.pages.dev
Branch Preview URL: https://fix-config-dataclasses.pydantic-docs2.pages.dev

View logs

tests/test_dataclasses.py Outdated Show resolved Hide resolved
pydantic/dataclasses.py Outdated Show resolved Hide resolved
@adriangb adriangb enabled auto-merge (squash) June 5, 2023 18:50
pydantic/dataclasses.py Outdated Show resolved Hide resolved
Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
@adriangb adriangb merged commit 176098e into main Jun 5, 2023
@adriangb adriangb deleted the fix-config-dataclasses branch June 5, 2023 19:02
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.

3 participants