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

make sure to capture non-null defaults from config validation #1415

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

winglian
Copy link
Collaborator

the defaults set in pydantic weren't being passed through to the cfg, because the previous behavior was to exclude any unset vars b/c it was excessively noisy outputs. exclude_none is a good compromise since the default getattr return value for cfg/DictDefault is None

@winglian winglian merged commit 601b77b into main Mar 26, 2024
6 checks passed
@winglian winglian deleted the fix-defaults-cfg branch March 26, 2024 19:18
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