From 8e4ebed43ff100166c8a6ca88631f5b1b1d98512 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Fri, 15 Nov 2024 22:14:40 -0500 Subject: [PATCH] fix properties schema deserialization --- weaver/wps_restapi/swagger_definitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/wps_restapi/swagger_definitions.py b/weaver/wps_restapi/swagger_definitions.py index b211c0226..119a19be5 100644 --- a/weaver/wps_restapi/swagger_definitions.py +++ b/weaver/wps_restapi/swagger_definitions.py @@ -1647,7 +1647,7 @@ class PropertiesSchema(ExtendedMappingSchema): def deserialize(self, cstruct): result = super().deserialize(cstruct) if "properties" in cstruct: - props = (result or {}).get("properties") or {} + props = (result or {}).get("properties") if cstruct["properties"] != props: raise colander.Invalid( node=self,