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

Centralize config defaults #50

Closed
mtauraso opened this issue Aug 27, 2024 · 0 comments · Fixed by #68
Closed

Centralize config defaults #50

mtauraso opened this issue Aug 27, 2024 · 0 comments · Fixed by #68
Assignees

Comments

@mtauraso
Copy link
Collaborator

All over the codebase we write config.get("thing", default_val) We ideally should have some place where all the defaults live, so there is a central location to find the default. We would also remove all the at-access defaulting in this process, so there's a single authoritative source.

Might use DataClasses, Pydantic, lazyconfig, etc...

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 a pull request may close this issue.

1 participant