(self, dash_app: Dash)
| 214 | ) |
| 215 | |
| 216 | def setup_index(self, dash_app: Dash): # type: ignore[name-defined] |
| 217 | async def index(*args, **kwargs): |
| 218 | return Response(dash_app.index(*args, **kwargs), content_type="text/html") # type: ignore[arg-type] |
| 219 | |
| 220 | # pylint: disable=protected-access |
| 221 | dash_app._add_url("", index, methods=["GET"]) |
| 222 | |
| 223 | def setup_catchall(self, dash_app: Dash): |
| 224 | async def catchall( |