MCPcopy
hub / github.com/fastapi/fastapi / read_items

Function read_items

docs_src/security/tutorial001_an_py310.py:12–13  ·  view source on GitHub ↗
(token: Annotated[str, Depends(oauth2_scheme)])

Source from the content-addressed store, hash-verified

10
11@app.get("/items/")
12async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
13 return {"token": token}

Callers

nothing calls this directly

Calls 1

DependsClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…