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

Deprecation of empty resolver arguments in favor of explicit strings #572

Closed
odelalleau opened this issue Feb 26, 2021 · 0 comments · Fixed by #571
Closed

Deprecation of empty resolver arguments in favor of explicit strings #572

odelalleau opened this issue Feb 26, 2021 · 0 comments · Fixed by #571

Comments

@odelalleau
Copy link
Collaborator

In OmegaConf 2.0, it is possible to have empty elements in a list of resolver arguments, for instance:

  • ${foo:a,} calls foo("a", "")
  • ${foo:a,,b} calls foo("a", "", "b")
  • ${foo:,} calls foo("", "")

This has been deprecated in OmegaConf 2.1. Users should instead use explicit empty strings, for instance:

  • ${foo:a,""}
  • ${foo:a, '', b}
  • ${foo:"", ""}
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