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

Add test for v1/v2 Annotated discrepancy #6926

Merged
merged 1 commit into from Jul 28, 2023

Conversation

carlbordum
Copy link
Contributor

It makes sense that model_dump only dumps the actual fields on the model. This test is here to ensure the v1 behavior isn't accidentally introduced again.

@dmontagu
Copy link
Contributor

Thanks for the contribution

@dmontagu dmontagu merged commit e8091c4 into pydantic:main Jul 28, 2023
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants