sunank200 commented on issue #36090:
URL: https://github.com/apache/airflow/issues/36090#issuecomment-2097846420

   @thesuperzapper the problem with suggested approach is that when you're 
working with triggers and the Triggerer component, you typically don't interact 
directly with TaskInstance objects within the trigger itself. Instead, triggers 
are designed to be lightweight, asynchronous pieces of code that wait for a 
certain condition to be met before notifying Airflow to resume a task. Passing 
`dag_id`, `task_id` and `run_id` might cause existing triggers to fail since 
there is change in signature and restart will have old serialised method value 
in database without these arguments.
   


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