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

Function read_users_me

docs_src/security/tutorial003_an_py310.py:91–94  ·  view source on GitHub ↗
(
    current_user: Annotated[User, Depends(get_current_active_user)],
)

Source from the content-addressed store, hash-verified

89
90@app.get("/users/me")
91async def read_users_me(
92 current_user: Annotated[User, Depends(get_current_active_user)],
93):
94 return current_user

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…