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

Function factory

test/test_box.py:1809–1811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1807 calls = []
1808
1809 def factory():
1810 calls.append(None)
1811 return "generated"
1812
1813 value = Box(default_box=True, default_box_attr=factory, default_box_create_on_get=create_on_get)
1814 assert value.pop("missing", default) is default

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected