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

Method _add_url

dash/dash.py:788–796  ·  view source on GitHub ↗
(self, name: str, view_func: RouteCallable, methods=("GET",))

Source from the content-addressed store, hash-verified

786 self._setup_plotlyjs()
787
788 def _add_url(self, name: str, view_func: RouteCallable, methods=("GET",)) -> None:
789 full_name = self.config.routes_pathname_prefix + name
790 self.backend.add_url_rule(
791 full_name,
792 view_func=view_func,
793 endpoint=full_name,
794 methods=list(methods),
795 )
796 self.routes.append(full_name)
797
798 def _serve_default_favicon(self):
799 return self.backend.make_response(

Callers 10

_setup_routesMethod · 0.95
setup_startup_routesMethod · 0.95
setup_indexMethod · 0.80
setup_catchallMethod · 0.80
setup_indexMethod · 0.80
setup_indexMethod · 0.80
setup_catchallMethod · 0.80

Calls 2

add_url_ruleMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected