mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2024-11-25 16:53:59 +01:00
orm_mode has been renamed to from_attributes
This commit is contained in:
parent
f3658a76ff
commit
f1384b72f2
1 changed files with 1 additions and 1 deletions
|
@ -14,4 +14,4 @@ class Item(BaseModel):
|
||||||
last_updated: int | None = Field(None)
|
last_updated: int | None = Field(None)
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
orm_mode = True
|
from_attributes = True
|
||||||
|
|
Loading…
Reference in a new issue