Veldhoen commented on issue #53640:
URL: https://github.com/apache/airflow/issues/53640#issuecomment-3253783940

   Hmm I actually cannot undestand why the task would stay in deferrable state 
in either scenario, because the run function should always yield. Just 
checking: did you restart the triggerer and scheduler? They will not 
automatically update of the Trigger and Operator definitions (like DAG code is 
automatically reparsed). 
   
   NB: the idea is to yielf a `TaskSuccessEvent` instead of a `TriggerEvent` in 
the trigger's `run` function in scenario 1 - that's the reason why you wouldn't 
need to pass a `method_name`.


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