flow chart

This commit is contained in:
Hellow
2023-03-10 11:09:05 +01:00
parent 53f1254231
commit 3a7f3aee6e
2 changed files with 24 additions and 8 deletions

View File

@@ -59,7 +59,10 @@ class Collection:
if value in self._attribute_to_object_map[name]:
# if the object does already exist
# thus merging and don't add it afterwards
self._attribute_to_object_map[name][value].merge(element)
existing_object = self._attribute_to_object_map[name][value]
existing_object.merge(element)
# in case any relevant data has been added (e.g. it remaps the old object)
self.map_element(existing_object)
return
self._data.append(element)