Skip to content

Commit

Permalink
fix for precommit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dgawlowsky committed Mar 5, 2024
1 parent 9e38fea commit 841b3dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion singer_sdk/helpers/_flattening.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ def _flatten_record(
"allow": True,
"convert_null": None,
}
ignore_nan = True if nan_strategy == "convert_null" else False

ignore_nan = nan_strategy == "convert_null"
items.append(
(
new_key,
Expand Down

0 comments on commit 841b3dd

Please sign in to comment.