MCPcopy
hub / github.com/encode/starlette / app

Function app

tests/test_authentication.py:120–121  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

118) -> Callable[[AsyncEndpoint], Callable[..., Awaitable[Response]]]:
119 def wrapper(endpoint: AsyncEndpoint) -> Callable[..., Awaitable[Response]]:
120 async def app(request: Request) -> Response:
121 return await endpoint(request=request, **kwargs)
122
123 return app
124

Callers

nothing calls this directly

Calls 1

endpointFunction · 0.70

Tested by

no test coverage detected