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

Improve internal configuration handling #460

Open
bcdarwin opened this issue Aug 23, 2021 · 0 comments
Open

Improve internal configuration handling #460

bcdarwin opened this issue Aug 23, 2021 · 0 comments

Comments

@bcdarwin
Copy link
Member

bcdarwin commented Aug 23, 2021

Essentially we want good handling of configurations, e.g. automatic generation of parsers for a configuration type, better help and error messages, better runtime error handling, better (de)serialization of configs, handling hierarchical and duplicate configs, merging, etc. [for an early version of some motivation, see https://stackoverflow.com/questions/33224213/creating-composable-hierarchical-command-line-parsers-using-python-argparse].

We should evaluate existing libraries for this rather than replacing ad-hoc functionality with more of the same. Candidates include omry/omegaconf (possibly with facebookresearch/hydra, but probably not; also see facebookresearch/hydra#633 regarding both), lebrice/SimpleParsing, click, the traits/traitlets family, (c)attrs, and pydantic.

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

No branches or pull requests

1 participant