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

Function test_repr_multiple_arguments

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

Source from the content-addressed store, hash-verified

80
81
82def test_repr_multiple_arguments(component_class):
83 # Note how the order in which keyword arguments are supplied is
84 # not always equal to the order in the repr of the component
85 c = component_class(id="my id", optionalArray=[1, 2, 3])
86 assert repr(c) == "Table(id='my id', optionalArray=[1, 2, 3])"
87
88
89def test_repr_nested_arguments(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…