From b20528b297b3faa3ba81f7458e0b05622d6f426f Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:33:24 +0100 Subject: [PATCH] minor --- .../simcore_service_webserver/workspaces/_workspaces_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/server/src/simcore_service_webserver/workspaces/_workspaces_db.py b/services/web/server/src/simcore_service_webserver/workspaces/_workspaces_db.py index 1907a6dd0c6..7c55e0a9428 100644 --- a/services/web/server/src/simcore_service_webserver/workspaces/_workspaces_db.py +++ b/services/web/server/src/simcore_service_webserver/workspaces/_workspaces_db.py @@ -51,8 +51,8 @@ workspaces.c.trashed_by, ) -assert set(WorkspaceDB.__fields__) == {c.name for c in _SELECTION_ARGS} # nosec -assert set(WorkspaceUpdateDB.__fields__).issubset( # nosec +assert set(WorkspaceDB.model_fields) == {c.name for c in _SELECTION_ARGS} # nosec +assert set(WorkspaceUpdateDB.model_fields).issubset( # nosec c.name for c in workspaces.columns )