8000 Fix union validation logic when `extra='allow'` by sydney-runkle · Pull Request #1334 · pydantic/pydantic-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix union validation logic when extra='allow' #1334

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

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

sydney-runkle
Copy link
Contributor

Copy link
codspeed-hq bot commented Jun 19, 2024

CodSpeed Performance Report

Merging #1334 will not alter performance

Comparing extra-fields-set-fix (6550529) with main (fcc77f8)

Summary

✅ 155 untouched benchmarks

Copy link
Contributor
@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely simplification which also improves things further :)

@sydney-runkle sydney-runkle merged commit a65f327 into main Jun 20, 2024
28 checks passed
@sydney-runkle sydney-runkle deleted the extra-fields-set-fix branch June 20, 2024 12:12
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.

Improved smart union behaviour when extra="allow" or extra="ignore" and union members have no required fields
2 participants
0