MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / read_user_me

Function read_user_me

backend/src/users/api.py:15–19  ·  view source on GitHub ↗

Get current user.

(current_user: CurrentUser)

Source from the content-addressed store, hash-verified

13
14@router.get("/me", response_model=UserPublic)
15def read_user_me(current_user: CurrentUser) -> Any:
16 """
17 Get current user.
18 """
19 return current_user
20
21
22@router.post("", response_model=UserPublic)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected