mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-12-12 02:35:43 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user