async (not working tbh)

This commit is contained in:
2024-04-14 14:45:01 +03:00
parent 17e0f78ecf
commit 033dbc538e
11 changed files with 95 additions and 50 deletions

View File

@ -27,3 +27,11 @@ class Token(BaseModel):
class TokenData(BaseModel):
username: Union[str, None] = None
class AnonUser(BaseModel):
id: UUID
name: str
class Config:
from_attributes = True