Skip to content

Commit

Permalink
fix properties schema deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Nov 16, 2024
1 parent af81111 commit 8e4ebed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaver/wps_restapi/swagger_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e4ebed

Please sign in to comment.