MCPcopy Create free account
hub / github.com/alamorre/fullstack-chat / User

Class User

server-fastapi/main.py:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20PRIVATE_KEY = "49a46286-91c3-4f9c-92bf-284ae51b7628"
21
22class User(BaseModel):
23 username: str
24 secret: str
25 email: Union[str, None] = None
26 first_name: Union[str, None] = None
27 last_name: Union[str, None] = None
28
29@app.post('/login/')
30async def root(user: User):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected