Skip to content

Commit

Permalink
fix: support missing value fields in rendering propterties
Browse files Browse the repository at this point in the history
  • Loading branch information
micha91 committed Jul 23, 2024
1 parent 588d6e1 commit 1ba7916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polarion_rest_api_client/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def __init__(
properties = RenderingProperties()
for prop in _properties:
key = prop["key"]
value = prop["value"]
value = prop.get("value", "")
if key in ["fieldsAtEndAsTable", "hidden"]:
value = value == "true"
else:
Expand Down

0 comments on commit 1ba7916

Please sign in to comment.