Gros refactoring

This commit is contained in:
François Pelletier 2024-12-31 17:00:07 -05:00
parent 6008aa68f6
commit 4a6bfc951f
368 changed files with 22503 additions and 3 deletions

14
backend/models.py Normal file
View file

@ -0,0 +1,14 @@
from pydantic import BaseModel
class Token(BaseModel):
access_token: str
token_type: str
class User(BaseModel):
username: str
email: str | None = None
full_name: str | None = None
disabled: bool | None = None
class UserInDB(User):
hashed_password: str