diff --git a/src/iam/schemas.py b/src/iam/schemas.py index 67569ee..ff6cbfc 100644 --- a/src/iam/schemas.py +++ b/src/iam/schemas.py @@ -16,6 +16,8 @@ from user.schemas import UserIDMixin class UserSchema(CustomBaseModel): + model_config = ConfigDict(from_attributes=True, extra="ignore") + id: int first_name: str last_name: str