Skip to content

Commit

Permalink
format code style
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeSBarros committed Feb 14, 2024
1 parent 7bc14fd commit 22a53d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crossfire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@ def flatten(data, nested_columns=None):
keys = set(data.keys()) & nested_columns
flattened_dict = {}
for key in keys:
flattened_dict.update({f"{key}_{k}": v for k, v in data.get(key).items()})
flattened_dict.update(
{f"{key}_{k}": v for k, v in data.get(key).items()}
)
return flattened_dict

0 comments on commit 22a53d8

Please # to comment.