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

Function user_page

tests/test_applications.py:57–59  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

55
56
57def user_page(request: Request) -> PlainTextResponse:
58 username = request.path_params["username"]
59 return PlainTextResponse(f"Hello, {username}!")
60
61
62def custom_subdomain(request: Request) -> PlainTextResponse:

Callers

nothing calls this directly

Calls 1

PlainTextResponseClass · 0.90

Tested by

no test coverage detected