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

Function test_docstring

tests/unit/development/test_flow_metadata_conversions.py:159–167  ·  view source on GitHub ↗
(load_test_flow_metadata_json)

Source from the content-addressed store, hash-verified

157
158
159def test_docstring(load_test_flow_metadata_json):
160 docstring = create_docstring(
161 "Flow_component",
162 load_test_flow_metadata_json["props"],
163 load_test_flow_metadata_json["description"],
164 )
165 print(docstring.splitlines())
166 prohibit_events(load_test_flow_metadata_json["props"]),
167 assert not list(unified_diff(expected_doc, docstring.splitlines()))
168
169
170def test_docgen_to_python_args(load_test_flow_metadata_json):

Callers

nothing calls this directly

Calls 2

create_docstringFunction · 0.90
prohibit_eventsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…