From cee4f33a6c4181a4e1b5722db6dbaf0e0e5825cf Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:06:15 +0100 Subject: [PATCH] fixes tsts --- services/web/server/src/simcore_service_webserver/users/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/server/src/simcore_service_webserver/users/api.py b/services/web/server/src/simcore_service_webserver/users/api.py index ff9ade31ac7..623d4f44396 100644 --- a/services/web/server/src/simcore_service_webserver/users/api.py +++ b/services/web/server/src/simcore_service_webserver/users/api.py @@ -52,19 +52,20 @@ "description": "description", "thumbnail": "thumbnail", "accessRights": "access_rights", - "inclusionRules": "inclusion_rules", } def _convert_groups_db_to_schema( db_row: RowProxy, *, prefix: str | None = "", **kwargs ) -> dict: + # NOTE: Deprecated. has to be replaced with converted_dict = { k: db_row[f"{prefix}{v}"] for k, v in _GROUPS_SCHEMA_TO_DB.items() if f"{prefix}{v}" in db_row } converted_dict.update(**kwargs) + converted_dict["inclusionRules"] = {} return converted_dict