Skip to content

Commit

Permalink
fix(decl): Overwrite by calling delete operation
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenngn committed Mar 14, 2024
1 parent 5e49459 commit 9c09360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capellambse/decl.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _operate_modify(
continue

if isinstance(value, list):
setattr(parent, attr, [])
_operate_delete(promises, parent, {attr: value})
yield from _create_complex_objects(promises, parent, attr, value)
elif isinstance(value, dict):
obj = getattr(parent, attr)
Expand Down

0 comments on commit 9c09360

Please sign in to comment.