Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

User should be able to validate required items explicitly #162

Open
jbasko opened this issue Jun 25, 2017 · 0 comments
Open

User should be able to validate required items explicitly #162

jbasko opened this issue Jun 25, 2017 · 0 comments

Comments

@jbasko
Copy link
Owner

jbasko commented Jun 25, 2017

required=True is of little use if it only raises exception when user attempts to retrieve the value. Instead, should be a way for user to validate all configuration items once they have finished loading configuration with an explicit config.validate() call. This should not happen automatically because you never know when user has finished initialising and loading the configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant