From ceb16585659034771afd97b580928c547d46adfe Mon Sep 17 00:00:00 2001 From: Andrey Anshin Date: Sat, 23 Jul 2022 01:05:17 +0400 Subject: [PATCH] Fix BatchOperator links on wait_for_completion = True (#25228) --- airflow/providers/amazon/aws/operators/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/providers/amazon/aws/operators/batch.py b/airflow/providers/amazon/aws/operators/batch.py index b74d47ea30aa3..4db83ecf787ca 100644 --- a/airflow/providers/amazon/aws/operators/batch.py +++ b/airflow/providers/amazon/aws/operators/batch.py @@ -115,7 +115,7 @@ class BatchOperator(BaseOperator): def operator_extra_links(self): op_extra_links = [BatchJobDetailsLink()] if self.wait_for_completion: - op_extra_links.extend(BatchJobDefinitionLink(), BatchJobQueueLink()) + op_extra_links.extend([BatchJobDefinitionLink(), BatchJobQueueLink()]) if not self.array_properties: # There is no CloudWatch Link to the parent Batch Job available. op_extra_links.append(CloudWatchEventsLink())