Skip to content

Commit

Permalink
fix: fixed a bug where expressions weren't being handled correctly in… (
Browse files Browse the repository at this point in the history
#126)

… dataframes
  • Loading branch information
sg-s authored Dec 4, 2024
1 parent 3f24273 commit 2027d54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/data_hub/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,10 @@ def row_to_dict(
value = field.value.fileIds
file_ids.extend(value)
elif field.type == "expression":
value = field.value.result
try:
value = field.value.expression
except Exception:
value = None

elif field.type == "user":
user_ids = field.value.userDrns
Expand Down

0 comments on commit 2027d54

Please sign in to comment.