Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
38
def
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
Callers
15
test_select
Method · 0.85
test_select_deselect
Method · 0.85
test_select_at_accessor__example_1
Method · 0.85
test_select_at_accessor__example_2
Method · 0.85
test_select_at_accessor_multiple_and_chaining
Method · 0.85
test_select_at_accessor_deprecated_auto_multiple
Method · 0.85
test_select_at_accessor_fails_not_multiple
Method · 0.85
test_select_at_instances_of__example_1
Method · 0.85
test_select_at_instances_of__example_2
Method · 0.85
test_select_at_instances_of__example_3
Method · 0.85
test_select_at_subtrees_where
Method · 0.85
test_select_at_subtrees_where_with_keypath
Method · 0.85
Calls
1
CustomLeaf
Class · 0.85
Tested by
no test coverage detected