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

Function users

Backend/FastAPI/routers/users_db.py:18–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17@router.get("/", response_model=list[User])
18async def users():
19 return users_schema(db_client.users.find())
20
21
22@router.get("/{id}") # Path

Callers

nothing calls this directly

Calls 1

users_schemaFunction · 0.90

Tested by

no test coverage detected