MCPcopy Create free account
hub / github.com/reactive-python/reactpy / _add_handler

Function _add_handler

src/py/reactpy/reactpy/backend/tornado.py:138–145  ·  view source on GitHub ↗
(
    app: Application, options: Options, handlers: _RouteHandlerSpecs
)

Source from the content-addressed store, hash-verified

136
137
138def _add_handler(
139 app: Application, options: Options, handlers: _RouteHandlerSpecs
140) -> None:
141 prefixed_handlers: list[Any] = [
142 (urljoin(options.url_prefix, route_pattern), *tuple(handler_info))
143 for route_pattern, *handler_info in handlers
144 ]
145 app.add_handlers(r".*", prefixed_handlers)
146
147
148def _setup_single_view_dispatcher_route(

Callers 1

configureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected