From 7d6bca0385129ee20058bcfb88f79c4e9e975366 Mon Sep 17 00:00:00 2001 From: Arjan Molenaar Date: Mon, 13 Nov 2023 17:55:11 +0100 Subject: [PATCH] fix: no need for model config in post request Co-authored-by: dominik003 --- backend/capellacollab/sessions/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/capellacollab/sessions/models.py b/backend/capellacollab/sessions/models.py index b031451786..bbf094a539 100644 --- a/backend/capellacollab/sessions/models.py +++ b/backend/capellacollab/sessions/models.py @@ -82,8 +82,6 @@ class PostProvisionWorkspaceEntry(pydantic.BaseModel): class PostProvisionWorkspaceRequest(pydantic.BaseModel): - model_config = pydantic.ConfigDict(from_attributes=True) - models: list[PostProvisionWorkspaceEntry] persistent_workspace: bool