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

open_dict change value to the inherited value #47

Closed
omry opened this issue Oct 23, 2019 · 0 comments · Fixed by #53
Closed

open_dict change value to the inherited value #47

omry opened this issue Oct 23, 2019 · 0 comments · Fixed by #53
Milestone

Comments

@omry
Copy link
Owner

omry commented Oct 23, 2019

for a nested config:

foo:
  bar:
    baz: 10

if foo is struct, and we do

with open_dict(cfg.foo.bar):
   bar.baz = 20

the struct flag of foo.bar would be changed to True.

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