MCPcopy Index your code
hub / github.com/fastapi/fastapi / read_users_me

Function read_users_me

docs_src/security/tutorial004_py310.py:137–138  ·  view source on GitHub ↗
(current_user: User = Depends(get_current_active_user))

Source from the content-addressed store, hash-verified

135
136@app.get("/users/me/")
137async def read_users_me(current_user: User = Depends(get_current_active_user)) -> User:
138 return current_user
139
140
141@app.get("/users/me/items/")

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…