Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ endpoint
Function
endpoint
tests/test_concurrency.py:39–40 ·
view source on GitHub ↗
(request: Request)
Source
from the content-addressed store, hash-verified
37
ctxvar.set(b
"data"
)
38
39
def
endpoint(request: Request) -> Response:
40
return
Response(ctxvar.get())
41
42
app = Starlette(routes=[Route(
"/"
, endpoint)])
43
client = test_client_factory(app)
Callers
1
app
Function · 0.70
Calls
2
Response
Class · 0.90
get
Method · 0.45
Tested by
no test coverage detected