fix: userschema config

Required for Pydantic to map a SQLAlchemy model to it.
This commit is contained in:
Chris Milne 2026-06-02 14:37:07 +01:00
parent 2f4b7b8733
commit 3052565258

View file

@ -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