mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-14 18:58:10 +08:00
Fix BaseUserDB typing by making email, is_active, is_superuser and is_verified non optional
This commit is contained in:
@ -49,6 +49,10 @@ class BaseUserUpdate(BaseUser):
|
||||
|
||||
class BaseUserDB(BaseUser):
|
||||
id: UUID4
|
||||
email: EmailStr
|
||||
is_active: bool
|
||||
is_superuser: bool
|
||||
is_verified: bool
|
||||
hashed_password: str
|
||||
|
||||
class Config:
|
||||
|
Reference in New Issue
Block a user