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

Incorrect deprecation warning in cfg.pretty() #358

Closed
omry opened this issue Sep 3, 2020 · 0 comments · Fixed by #359
Closed

Incorrect deprecation warning in cfg.pretty() #358

omry opened this issue Sep 3, 2020 · 0 comments · Fixed by #359

Comments

@omry
Copy link
Owner

omry commented Sep 3, 2020

Current:

pretty() is deprecated and will be removed in a future version.
Use OmegaConf.to_yaml. Please note that the default value for
resolve has changed to True.

is incorrect, the default did not end up changing.
Correct warning:

cfg.pretty() is deprecated and will be removed in a future version.
Use OmegaConf.to_yaml(cfg)
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

Successfully merging a pull request may close this issue.

1 participant