lets do uids_to_add correctly

This commit is contained in:
Laura Klünder 2024-12-08 17:24:14 +01:00
parent 1f2acff8c8
commit 9741711fc4

View file

@ -559,7 +559,7 @@ class ChangedObjectCollection(BaseSchema):
# determine changes to state # determine changes to state
new_operation = remaining_operation.main_op.operation new_operation = remaining_operation.main_op.operation
new_remaining_operations = [] new_remaining_operations = []
uids_to_add: set[tuple] = set(remaining_operation.main_op.uid) uids_to_add: set[tuple] = {remaining_operation.main_op.uid}
if isinstance(remaining_operation, MergableOperationsWithDependencies): if isinstance(remaining_operation, MergableOperationsWithDependencies):
# sub_ops to be merged into this one or become pending operations # sub_ops to be merged into this one or become pending operations
new_operation: Union[CreateObjectOperation, UpdateObjectOperation] new_operation: Union[CreateObjectOperation, UpdateObjectOperation]