p13rr0m opened a new issue, #24868:
URL: https://github.com/apache/airflow/issues/24868

   ### What do you see as an issue?
   
   Hi everyone,
   
   is this callback 
[example](https://airflow.apache.org/docs/apache-airflow/stable/logging-monitoring/callbacks.html#example
   ) from the documentation correct or just confusing? 
   
   It mentions: "In the following example, failures in any task call the 
task_failure_alert function, and success in the last task calls the 
dag_success_alert function:"
   
   The task_failure_alert is set on a DAG level, while the dag_success_alert on 
an task level. Based on the name of the functions, shouldn't it be the other 
way round?
   
    
   
   ### Solving the problem
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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