Skip to content
Snippets Groups Projects
Commit f85dc20e authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: added note about the possibility of mixed cases

parent 59195096
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!72F fix merge entity conflicts
Pipeline #29844 passed
......@@ -297,6 +297,7 @@ def compare_entities(old_entity: Entity, new_entity: Entity, compare_referenced_
# list of references
elif isinstance(prop.value, list) and isinstance(matching[0].value, list):
# all elements in both lists actually are entity objects
# TODO: check, whether mixed cases can be allowed or should lead to an error
if all([isinstance(x, Entity) for x in prop.value]) and all([isinstance(x, Entity) for x in matching[0].value]):
# can't be the same if the lengths are different
if len(prop.value) == len(matching[0].value):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment