Box
Box copied to clipboard
default_box_create_on_get is ignored with from_yaml
Box b should not contain 'foo': {'bar': {}} after the get.
>>> b = Box.from_yaml('a:\n b: c', default_box=True, default_box_create_on_get=False)
>>> b
Box({'a': {'b': 'c'}})
>>> b.foo.bar
Box({})
>>> b
Box({'a': {'b': 'c'}, 'foo': {'bar': {}}})