Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Zwerschke <c.zwerschke@dkfz-heidelberg.de>
  • Loading branch information
lkuchenb and Cito authored May 14, 2024
1 parent ac99640 commit 2b95f57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def infer_mutiplicity_from_path(
Returns:
The inferred multiplicity.
"""
origin, target = False, False
origin = target = False
# Traverse the path and check for multiplicity
for element in path.elements:
relation = get_relation(element, schema)
Expand Down Expand Up @@ -97,7 +97,7 @@ def infer_mandatory_from_path(
Returns:
The inferred mandatory property.
"""
origin, target = True, True
origin = target = True
# Traverse the path and check for mandatory
for element in path.elements:
relation = get_relation(element, schema)
Expand Down

0 comments on commit 2b95f57

Please sign in to comment.