Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into enhance-wizard-data
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Dec 16, 2024
2 parents 8f8e97a + 5d17cc4 commit ac2e6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backport/datasync/data_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _convert_strings_to_numeric(lst: List[str]) -> List[Union[int, float, str]]:
def _omit_nullable_values(d: dict) -> dict:
out = {}
for k, v in d.items():
if hasattr(v, "__len__"):
if isinstance(v, list):
if len(v) > 0:
out[k] = v
elif v is not None and not pd.isna(v):
Expand Down

0 comments on commit ac2e6a6

Please sign in to comment.