add put method

This commit is contained in:
2023-10-14 21:28:21 +02:00
parent b2d5481e10
commit 39f2031079
2 changed files with 37 additions and 0 deletions

View File

@@ -18,6 +18,11 @@ class UserOut(BaseModel):
removed: bool
confirmed: bool
class UserIn(BaseModel):
username: str
roles: str
password: str
class UserInDB(User):
password: str