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

Function page_b

tests/test_templates.py:117–118  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

115 template_b.write_text("<html><a href='{{ url_for('page_b') }}'></a> b</html>")
116
117 async def page_b(request: Request) -> Response:
118 return templates.TemplateResponse(request, "template_b.html")
119
120 app = Starlette(
121 debug=True,

Callers

nothing calls this directly

Calls 1

TemplateResponseMethod · 0.80

Tested by

no test coverage detected