MCPcopy Index your code
hub / github.com/plotly/dash / test_repr_nested_arguments

Function test_repr_nested_arguments

tests/unit/development/test_generate_class.py:89–93  ·  view source on GitHub ↗
(component_class)

Source from the content-addressed store, hash-verified

87
88
89def test_repr_nested_arguments(component_class):
90 c1 = component_class(id="1")
91 c2 = component_class(id="2", children=c1)
92 c3 = component_class(children=c2)
93 assert repr(c3) == "Table(Table(children=Table(id='1'), id='2'))"
94
95
96def test_repr_with_wildcards(component_class):

Callers

nothing calls this directly

Calls 1

component_classFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…