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/02/06 16:56:19 UTC

[GitHub] [airflow] mariotaddeucci opened a new pull request #21364: Add default operators callbacks to airflow configs

mariotaddeucci opened a new pull request #21364:
URL: https://github.com/apache/airflow/pull/21364


   Enable to set default `on_failure_callback`, `on_execute_callback`, `on_retry_callback` and `on_success_callback`.
   This allows a macro control of executions triggering callbacks thats are added on every dag such as send a slack notification for each task fail.
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.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: commits-unsubscribe@airflow.apache.org

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



[GitHub] [airflow] mariotaddeucci commented on pull request #21364: Add default operators callbacks to airflow configs

Posted by GitBox <gi...@apache.org>.
mariotaddeucci commented on pull request #21364:
URL: https://github.com/apache/airflow/pull/21364#issuecomment-1030886454


   I didn’t know about it. I checked and this will helps to much o/


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



[GitHub] [airflow] ashb commented on pull request #21364: Add default operators callbacks to airflow configs

Posted by GitBox <gi...@apache.org>.
ashb commented on pull request #21364:
URL: https://github.com/apache/airflow/pull/21364#issuecomment-1030883048


   This is already possible by using the policy "hooks" in airflow_local_settings - check the docs


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



[GitHub] [airflow] potiuk commented on pull request #21364: Add default operators callbacks to airflow configs

Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #21364:
URL: https://github.com/apache/airflow/pull/21364#issuecomment-1030884020


   Agree with @ashb - for the record:  https://airflow.apache.org/docs/apache-airflow/stable/concepts/cluster-policies.html?highlight=cluster


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



[GitHub] [airflow] ashb closed pull request #21364: Add default operators callbacks to airflow configs

Posted by GitBox <gi...@apache.org>.
ashb closed pull request #21364:
URL: https://github.com/apache/airflow/pull/21364


   


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