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


##########
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]:

Review Comment:
   It gets called by the scheduler 
[here](https://github.com/apache/airflow/blob/main/airflow/jobs/scheduler_job_runner.py#L1640)
 when it makes an adoption pass as part of the scheduler loop 
[here](https://github.com/apache/airflow/blob/main/airflow/jobs/scheduler_job_runner.py#L926).



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