File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ def __init__(
74
74
self .api_results : list [dict [str , Any ]] = []
75
75
self .queue_results : list [dict [str , Any ]] = []
76
76
self .execution_service = execution_service
77
+ self .is_api : bool = (
78
+ self .endpoint .connection_type == WorkflowEndpoint .ConnectionType .API
79
+ )
77
80
78
81
def _get_endpoint_for_workflow (
79
82
self ,
Original file line number Diff line number Diff line change @@ -229,8 +229,11 @@ def _process_file(
229
229
workflow_file_execution .update (file_hash = file_content_hash )
230
230
231
231
# Ensure no duplicate file processing
232
- if FileHistoryHelper .get_file_history (
233
- workflow = workflow , cache_key = file_content_hash
232
+ if (
233
+ FileHistoryHelper .get_file_history (
234
+ workflow = workflow , cache_key = file_content_hash
235
+ )
236
+ and not destination .is_api
234
237
):
235
238
logger .info (f"Skipping '{ file_name } ', already processed." )
236
239
execution_service .publish_log (
You can’t perform that action at this time.
0 commit comments