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

Function get_app

components/dash-table/tests/selenium/test_multiple_tables.py:16–36  ·  view source on GitHub ↗
(props=dict())

Source from the content-addressed store, hash-verified

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

Callers 4

test_tbmu001_select_rowFunction · 0.70

Calls 3

DivClass · 0.90
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…