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

Method setup_catchall

dash/backends/_flask.py:186–191  ·  view source on GitHub ↗
(self, dash_app: Dash)

Source from the content-addressed store, hash-verified

184 return jsonify(obj)
185
186 def setup_catchall(self, dash_app: Dash):
187 def catchall(*args, **kwargs):
188 return dash_app.index(*args, **kwargs)
189
190 # pylint: disable=protected-access
191 dash_app._add_url("<path:path>", catchall, methods=["GET"])
192
193 def setup_index(self, dash_app: Dash):
194 def index(*args, **kwargs):

Callers 1

_setup_routesMethod · 0.45

Calls 1

_add_urlMethod · 0.80

Tested by

no test coverage detected