You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/06 12:26:59 UTC

[GitHub] [airflow] potiuk commented on issue #24868: Example for callbacks on DAG and task level

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org