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

Function user_page

tests/test_applications.py:57–59  ·  tests/test_applications.py::user_page
(request: Request)

Source from the content-addressed store, hash-verified

55
56
57def user_page(request: Request) -> PlainTextResponse:
58 username = request.path_params[class="st">"username"]
59 return PlainTextResponse(fclass="st">"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