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

refactor: validate -> extras functions #179

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

henryiii
Copy link
Collaborator

This feels like a simpler solution to #178. It just simplifies the "validate_*" functions to producing a set of extra fields, so the consumer can choose what to do with them. This also simplifies the implementation of allow_extra_keys, too.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 1e434a5 into pypa:main Sep 30, 2024
24 checks passed
@henryiii henryiii deleted the henryiii/refactor/extras branch September 30, 2024 16:42
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.

1 participant