arorasachin9 commented on issue #60517:
URL: https://github.com/apache/airflow/issues/60517#issuecomment-3751149212

   @vincbeck ,
   I am thinking of implementing trigger `cleanup` method in the 
`AwsBaseWaiterTrigger` class
   I will take an argument of the waiter that need be to be called in list in 
`AwsBaseWaiterTrigger` class. I will call this waiters in loop. 
   e.g. for emr-containers case I'll take the cancel_job_run and 
container_job_complete are input. First I'll run the waiter for the 
cancel_job_run after this wait for the actual cancellation by using 
container_job_complete waiter. Default will be empty array whoever need this 
they can pass these values and add the cancel specific waiter in the waiter 
json file.
   
   Let me know about the approach


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