kakatur commented on code in PR #64745:
URL: https://github.com/apache/airflow/pull/64745#discussion_r3067338376


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/batch.py:
##########
@@ -222,6 +222,9 @@ def execute(self, context: Context) -> str | None:
             if not self.job_id:
                 raise AirflowException("AWS Batch job - job_id was not found")
 
+            # Persist operator links before deferring so they're available in 
the UI
+            self._persist_links(context)
+
             job = self.hook.get_job_description(self.job_id)
             job_status = job.get("status")
             if job_status == self.hook.SUCCESS_STATE:

Review Comment:
   I will consolidate these 3 calls into one.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to