UserOut ->add id
This commit is contained in:
@@ -31,6 +31,7 @@ class UserBase(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class UserOut(BaseModel):
|
class UserOut(BaseModel):
|
||||||
|
id: int
|
||||||
email: str
|
email: str
|
||||||
is_active: bool = True
|
is_active: bool = True
|
||||||
is_superuser: bool = False
|
is_superuser: bool = False
|
||||||
|
|||||||
Reference in New Issue
Block a user