This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit b17670b63b7745d8d5ce84abacd04faf7dc7efc8 Author: aspain <adam.r.sp...@gmail.com> AuthorDate: Mon Mar 21 16:38:25 2022 -0400 adding `on_execute_callback` to callbacks docs (#22362) * adding on_execute_callback `on_execute_callback` is not listed but is an available callback to use. Could not find a docs page to link the way that the rest of them have. * Update docs/apache-airflow/logging-monitoring/callbacks.rst Co-authored-by: Josh Fell <48934154+josh-f...@users.noreply.github.com> * Update docs/apache-airflow/logging-monitoring/callbacks.rst Co-authored-by: Josh Fell <48934154+josh-f...@users.noreply.github.com> Co-authored-by: eladkal <45845474+elad...@users.noreply.github.com> (cherry picked from commit 179c5b67e9c838f2f6df2b2b9a4451bfa09db42d) --- docs/apache-airflow/logging-monitoring/callbacks.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apache-airflow/logging-monitoring/callbacks.rst b/docs/apache-airflow/logging-monitoring/callbacks.rst index 15bbacb..4b1b754 100644 --- a/docs/apache-airflow/logging-monitoring/callbacks.rst +++ b/docs/apache-airflow/logging-monitoring/callbacks.rst @@ -32,7 +32,7 @@ For example, you may wish to alert when certain tasks have failed, or have the l Callback Types -------------- -There are four types of task events that can trigger a callback: +There are five types of task events that can trigger a callback: =========================================== ================================================================ Name Description @@ -41,6 +41,7 @@ Name Description ``on_failure_callback`` Invoked when the task :ref:`fails <concepts:task-instances>` ``sla_miss_callback`` Invoked when a task misses its defined :ref:`SLA <concepts:slas>` ``on_retry_callback`` Invoked when the task is :ref:`up for retry <concepts:task-instances>` +``on_execute_callback`` Invoked right before the task begins executing. =========================================== ================================================================