MCPcopy
hub / github.com/google-deepmind/penzai / make_example_object

Function make_example_object

tests/core/selectors_test.py:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37
38def make_example_object():
39 return {
40 'a': 1,
41 'b': CustomLeaf(10),
42 'c': [
43 {'value': CustomLeaf(12)},
44 {'value': CustomLeaf(13)},
45 {'value': 3},
46 ],
47 }
48
49
50@dataclasses.dataclass

Calls 1

CustomLeafClass · 0.85

Tested by

no test coverage detected