()
| 17 | |
| 18 | |
| 19 | def 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( |
no test coverage detected
searching dependent graphs…