From 2027d54fc2e9d0efce82d9964c63f0f427f09967 Mon Sep 17 00:00:00 2001 From: Srinivas Gorur-Shandilya Date: Tue, 3 Dec 2024 21:13:25 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20fixed=20a=20bug=20where=20expressions=20?= =?UTF-8?q?weren't=20being=20handled=20correctly=20in=E2=80=A6=20(#126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … dataframes --- src/data_hub/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data_hub/api.py b/src/data_hub/api.py index 0d0cb5a..6552fa0 100644 --- a/src/data_hub/api.py +++ b/src/data_hub/api.py @@ -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