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

Method setup_index

dash/backends/_quart.py:216–221  ·  view source on GitHub ↗
(self, dash_app: Dash)

Source from the content-addressed store, hash-verified

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(

Callers

nothing calls this directly

Calls 1

_add_urlMethod · 0.80

Tested by

no test coverage detected