(id: UUID, user: UserPydanticIn)
| 44 | |
| 45 | @app.router.put("/{id}") |
| 46 | async def users_put(id: UUID, user: UserPydanticIn) -> UserPydanticOut: |
| 47 | await Users.filter(id=id).update(**user.model_dump()) |
| 48 | return ok(await UserPydanticOut.from_tortoise_orm(await Users.get(id=id))) |
| 49 | |
| 50 | |
| 51 | @app.router.delete("/{id}") |
nothing calls this directly
no test coverage detected
searching dependent graphs…