🔧 chore(user.py): add optional 'username' field to UserUpdate model for better flexibility in updating user information
This commit is contained in:
parent
3a4ae5e37b
commit
4be21db30c
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ class UserRead(SQLModel):
|
|||
|
||||
|
||||
class UserUpdate(SQLModel):
|
||||
username: Optional[str] = Field()
|
||||
profile_image: Optional[str] = Field()
|
||||
password: Optional[str] = Field()
|
||||
is_active: Optional[bool] = Field()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue