Skip to content

Commit

Permalink
FIX: Return highlight data in API response (#858)
Browse files Browse the repository at this point in the history
Return highlight data in API response
  • Loading branch information
Deepak-Kesavan authored Nov 21, 2024
1 parent 2e5e8a1 commit ec02804
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/api_v2/deployment_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ def execute_workflow(
result.status_api = DeploymentHelper.construct_status_endpoint(
api_endpoint=api.api_endpoint, execution_id=execution_id
)
if include_metadata:
result.remove_result_metadata_keys(keys_to_remove=["highlight_data"])
else:
if not include_metadata:
result.remove_result_metadata_keys()
except Exception as error:
DestinationConnector.delete_api_storage_dir(
Expand Down

0 comments on commit ec02804

Please sign in to comment.