Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Oct 30, 2023
1 parent 69a88ec commit 8134698
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bdgd_tools/model/Line.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,15 @@ def _create_line_from_row(line_config, row):
line_ = Line()

for key, value in line_config.items():
if key == "static":
line_._process_static(line_, value)
if key == "calculated":
line_._process_calculated(line_, value, row)

elif key == "direct_mapping":
line_._process_direct_mapping(line_, value,row)
elif key == "indirect_mapping":
line_._process_indirect_mapping(line_, value,row)
elif key == "calculated":
line_._process_calculated(line_, value, row)

elif key == "static":
line_._process_static(line_, value)
return line_

@staticmethod
Expand Down

0 comments on commit 8134698

Please sign in to comment.