-
Notifications
You must be signed in to change notification settings - Fork 116
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
Being able to get a set of all missing keys #720
Comments
Thanks @Ohad31415. I am going to hold off reviewing the PR until we start working on 2.2. |
This functionality is similar to the proposed |
It's similar in the sense that they both report missing keys, however |
Yes, that is correct -- the proposed |
Something I find myself use each time is a function that returns set of all missing keys so that if it's not empty by the end of the configuration setup I raise an error.
This function consists of recursive calls to
OmegaConf.is_missing
andOmegaConf.is_confg
and I think it would be helpful to include it under the library.The function implementation is something like this -
I've set a PR for this here #719
The text was updated successfully, but these errors were encountered: