-
Notifications
You must be signed in to change notification settings - Fork 122
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
Deprecation of OmegaConf.get_resolver()
#608
Milestone
Comments
22 tasks
odelalleau
added a commit
to odelalleau/omegaconf
that referenced
this issue
Mar 16, 2021
odelalleau
added a commit
that referenced
this issue
Mar 16, 2021
* Deprecate `get_resolver()` and add new `has_resolver()` Fixes #608 * Refactor: move private functions at bottom of class * Add test for coverage of deprecation warning
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PROBLEM
OmegaConf.get_resolver()
is exposing OmegaConf internals that are not meant to be public-facing (they may change arbitrarily).DEPRECATION PLAN
OmegaConf.get_resolver()
is being deprecated in OmegaConf 2.1 and will be removed in OmegaConf 2.2.OmegaConf.has_resolver(name: str) -> bool
is being added in OmegaConf 2.1 to make it possible to check for the existence of a resolver. If this new function is not enough for your use case, please open an issue explaining why.Additional context
See discussion in #599 (comment)
The text was updated successfully, but these errors were encountered: