MCPcopy
hub / github.com/mouredev/Hello-Python / user

Function user

Backend/FastAPI/routers/users_db.py:23–24  ·  view source on GitHub ↗
(id: str)

Source from the content-addressed store, hash-verified

21
22@router.get("/{id}") # Path
23async def user(id: str):
24 return search_user("_id", ObjectId(id))
25
26
27@router.get("/") # Query

Callers

nothing calls this directly

Calls 3

user_schemaFunction · 0.90
UserClass · 0.90
search_userFunction · 0.70

Tested by

no test coverage detected