syedahsn commented on code in PR #37786:
URL: https://github.com/apache/airflow/pull/37786#discussion_r1511721803


##########
airflow/providers/amazon/aws/executors/ecs/ecs_executor.py:
##########
@@ -493,3 +496,39 @@ def get_container(self, container_list):
                     'container "name" must be provided in "containerOverrides" 
configuration'
                 )
         raise KeyError(f"No such container found by container name: 
{self.container_name}")
+
+    def try_adopt_task_instances(self, tis: Sequence[TaskInstance]) -> 
Sequence[TaskInstance]:
+        """
+        Adopt task instances which have an external_executor_id (the ECS task 
ARN).

Review Comment:
   I might have missed this, but how is the task instance getting the 
`external_executor_id` attached to it?



-- 
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