feat: general rework (#32)

* feat: general rework [skip ci]

* feat: general rework [skip ci]

* feat: general rework [skip ci]

* feat: use csv [skip ci]

* feat: add testing [skip ci]

* fix: remove logging [skip ci]
This commit is contained in:
Jayden Pyles
2024-10-20 17:52:58 -05:00
committed by GitHub
parent 14cf2e9dbc
commit d3c6a3f6a3
49 changed files with 769 additions and 414 deletions

View File

@@ -1,5 +1,5 @@
# STL
from typing import Optional
from typing import Union, Literal, Optional
# PDM
from pydantic import EmailStr, BaseModel
@@ -15,7 +15,7 @@ class TokenData(BaseModel):
class User(BaseModel):
email: EmailStr
email: Union[EmailStr, Literal[""]]
full_name: Optional[str] = None
disabled: Optional[bool] = None