MCPcopy Create free account
hub / github.com/cdgriffith/Box / MyConfig

Class MyConfig

test/test_box_defaults.py:63–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 def test_no_init_override_needed(self):
62 # The pattern people tried in #296 / #223 fails, this is the replacement
63 class MyConfig(Box):
64 _box_defaults = {"default_box": True, "box_dots": True}
65
66 config = MyConfig()
67 config["server.host"] = "localhost"

Callers 1

Calls

no outgoing calls

Tested by 1