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

Function get_app

components/dash-table/tests/selenium/test_markdown_copy_paste.py:19–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def get_app():
20 app = dash.Dash(__name__)
21
22 app.layout = DataTable(
23 id="table",
24 data=df[0:250],
25 columns=[
26 {"id": "Complaint ID", "name": "Complaint ID", "presentation": "markdown"},
27 {"id": "Product", "name": "Product", "presentation": "markdown"},
28 {"id": "Sub-product", "name": "Sub-product"},
29 {"id": "Issue", "name": "Issue", "presentation": "markdown"},
30 {"id": "Sub-issue", "name": "Sub-issue"},
31 {"id": "State", "name": "State", "presentation": "markdown"},
32 {"id": "ZIP", "name": "ZIP"},
33 ],
34 editable=True,
35 sort_action="native",
36 include_headers_on_copy_paste=True,
37 )
38
39 return app
40
41
42@pytest.mark.skip(

Calls 1

DataTableClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…