From 1a032292cf30ae2651c860e34d2f7b64ea6a6317 Mon Sep 17 00:00:00 2001 From: rrr-marble Date: Wed, 20 Dec 2023 15:08:31 +0000 Subject: [PATCH] msc: update pydantic config keys --- backend/src/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/schemas.py b/backend/src/schemas.py index bd5f84b..b2c21e8 100644 --- a/backend/src/schemas.py +++ b/backend/src/schemas.py @@ -89,7 +89,7 @@ class Item(ItemBase): depth_max: Optional[float] = None class Config: - orm_mode = True + from_attributes = True class InsertStatus(BaseModel):