-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add new resolvers oc.dict.keys
and oc.dict.values
#644
Commits on Apr 10, 2021
-
Refactor: move built-in resolvers to built_in_resolvers.py
No functional change
Configuration menu - View commit details
-
Copy full SHA for 80371a6 - Browse repository at this point
Copy the full SHA 80371a6View commit details -
Refactor: move functions around in built_in_resolvers.py
No functional change
Configuration menu - View commit details
-
Copy full SHA for afb7f8d - Browse repository at this point
Copy the full SHA afb7f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d77807 - Browse repository at this point
Copy the full SHA 3d77807View commit details -
Improvements to
oc.dict.{keys,values}
* Can now take a string as input for convenience * The output is always a ListConfig, whose parent is the parent of the node being processed
Configuration menu - View commit details
-
Copy full SHA for aa49502 - Browse repository at this point
Copy the full SHA aa49502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5024744 - Browse repository at this point
Copy the full SHA 5024744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a33b3 - Browse repository at this point
Copy the full SHA 34a33b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62e0bd4 - Browse repository at this point
Copy the full SHA 62e0bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19954b5 - Browse repository at this point
Copy the full SHA 19954b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fc2630 - Browse repository at this point
Copy the full SHA 5fc2630View commit details -
New implementation of
oc.dict.values
based on interpolationsOf particular note: * When the result of an interpolation is a node whose parent is the current node's parent, but has no key, then we set its key to the current node's key. This makes it possible to use its full key as an identifier. * _get_and_validate_dict_input() now properly raises an exception if the desired key does not exist
Configuration menu - View commit details
-
Copy full SHA for ac6a329 - Browse repository at this point
Copy the full SHA ac6a329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26b2372 - Browse repository at this point
Copy the full SHA 26b2372View commit details -
Update omegaconf/built_in_resolvers.py
Co-authored-by: Omry Yadan <omry@fb.com>
Configuration menu - View commit details
-
Copy full SHA for 890017c - Browse repository at this point
Copy the full SHA 890017cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89496b0 - Browse repository at this point
Copy the full SHA 89496b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0fadcd - Browse repository at this point
Copy the full SHA b0fadcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7541343 - Browse repository at this point
Copy the full SHA 7541343View commit details -
Update tests and documentation
Plus some additional code clean-up.
Configuration menu - View commit details
-
Copy full SHA for ce794a6 - Browse repository at this point
Copy the full SHA ce794a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5692ed9 - Browse repository at this point
Copy the full SHA 5692ed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 517b852 - Browse repository at this point
Copy the full SHA 517b852View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a4ef7 - Browse repository at this point
Copy the full SHA d1a4ef7View commit details