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

get mandatory missing with default value #9

Closed
omry opened this issue Jun 21, 2019 · 1 comment
Closed

get mandatory missing with default value #9

omry opened this issue Jun 21, 2019 · 1 comment

Comments

@omry
Copy link
Owner

omry commented Jun 21, 2019

cfg = OmegaConf.create(dict(name='???'))
cfg.get('name', 'default value')
@omry omry closed this as completed Jun 22, 2019
@omry
Copy link
Owner Author

omry commented Jun 22, 2019

fixed

omry added a commit that referenced this issue Jun 23, 2019
omry added a commit that referenced this issue Jun 23, 2019
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

No branches or pull requests

1 participant