orm_mode has been renamed to from_attributes

This commit is contained in:
jomo 2024-02-01 00:01:55 +01:00
parent f3658a76ff
commit f1384b72f2

View file

@ -14,4 +14,4 @@ class Item(BaseModel):
last_updated: int | None = Field(None)
class Config:
orm_mode = True
from_attributes = True