diff --git a/schemas.py b/schemas.py index bf6f444..30f7545 100644 --- a/schemas.py +++ b/schemas.py @@ -14,4 +14,4 @@ class Item(BaseModel): last_updated: int | None = Field(None) class Config: - orm_mode = True + from_attributes = True