(user: UserIn_Pydantic)
| 12 | |
| 13 | @router.post("/users", response_model=User_Pydantic) |
| 14 | async def create_user(user: UserIn_Pydantic): |
| 15 | user_obj = await Users.create(**user.model_dump(exclude_unset=True)) |
| 16 | return await User_Pydantic.from_tortoise_orm(user_obj) |
| 17 | |
| 18 | |
| 19 | @router.get("/user/{user_id}", response_model=User_Pydantic) |
nothing calls this directly
no test coverage detected
searching dependent graphs…