Skip to content

Commit

Permalink
codecov fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbenav committed Dec 23, 2024
1 parent 46e18b6 commit 8643443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastcrud/crud/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,12 +573,12 @@ def _nest_multi_join_data(
join_prefix
].append(item)
existing_items.add(item[join_primary_key])
else:
else: # pragma: no cover
if join_prefix in row_dict:
value = row_dict[join_prefix]
if (
isinstance(value, dict) and value.get(join_primary_key) is None
): # pragma: no cover
):
pre_nested_data[primary_key_value][join_prefix] = None
elif isinstance(value, dict):
pre_nested_data[primary_key_value][join_prefix] = value
Expand Down

0 comments on commit 8643443

Please sign in to comment.