Skip to content

Commit

Permalink
black for readibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ccl-core committed Sep 24, 2024
1 parent 2285a14 commit a1f7eb4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ def _get_result(row):
f" field {field} to understand why. Possible fields: {df.columns}"
)
value = row[column]
is_repeated = field.repeated or (field.parent and hasattr(field.parent, "repeated") and field.parent.repeated)
is_repeated = field.repeated or (
field.parent
and hasattr(field.parent, "repeated")
and field.parent.repeated
)
value = apply_transforms_fn(value, field=field, repeated=is_repeated)
if is_repeated:
value = [
Expand Down

0 comments on commit a1f7eb4

Please sign in to comment.