potiuk commented on issue #24868:
URL: https://github.com/apache/airflow/issues/24868#issuecomment-1176160329

   Nope. The example is correct. Read it carefully please. Callbacks are always 
set on "tasks" - even if you set them at DAG level, they always propagate to 
the tasks. The reason "success" is "on dag success" is only becase it is called 
on success of the last task in DAG, but this is still a task callback not dag 
callback. The example is good.


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