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

Function get_app

components/dash-table/tests/selenium/test_basic_operations.py:18–39  ·  view source on GitHub ↗
(props=dict())

Source from the content-addressed store, hash-verified

16
17
18def get_app(props=dict()):
19 app = dash.Dash(__name__)
20
21 baseProps = dict(
22 id="table",
23 columns=[{"name": i, "id": i} for i in rawDf.columns],
24 data=df,
25 editable=True,
26 filter_action="native",
27 fixed_columns={"headers": True},
28 fixed_rows={"headers": True},
29 page_action="native",
30 row_deletable=True,
31 row_selectable=True,
32 sort_action="native",
33 )
34
35 baseProps.update(props)
36
37 app.layout = DataTable(**baseProps)
38
39 return app
40
41
42@pytest.mark.parametrize("props", read_write_modes)

Calls 2

DataTableClass · 0.90
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…