Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clarifai/runners/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def convert_output_data_to_old_format(cls, data: resources_pb2.Data) -> resource
old_data = part_data
if old_data.string_value:
old_data.text.raw = old_data.string_value

old_data.ClearField('string_value')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure of the historical context on these old data fields. May need to ask around to verify it's okay to clear it everywhere, or whether we should only do it conditionally

return old_data

@classmethod
Expand Down
Loading