We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent effa6bd commit 37168daCopy full SHA for 37168da
libs/libcommon/src/libcommon/viewer_utils/features.py
@@ -446,7 +446,10 @@ def get_cell_value(
446
json_path=json_path,
447
)
448
elif isinstance(fieldType, Json):
449
- return fieldType.decode_example(cell) if fieldType.decode else cell
+ try:
450
+ return fieldType.decode_example(cell)
451
+ except (ValueError, TypeError):
452
+ return cell
453
elif isinstance(fieldType, list):
454
if not isinstance(cell, list):
455
raise TypeError("list cell must be a list.")
0 commit comments