jnstockley commented on issue #51402:
URL: https://github.com/apache/airflow/issues/51402#issuecomment-2940980453
@jroachgolf84 I tired it with `on_success_callback` and
`on_failure_callback` and got the same results.
`
import json
import pendulum
from airflow.sdk import dag, task
from plugins.notifications.custom import CustomNotifier
@dag(
schedule=None,
start_date=pendulum.datetime(2021, 1, 1, tz="UTC"),
catchup=False,
tags=["example"],
on_success_callback=CustomNotifier(to="email-address"),
)
def tutorial_taskflow_api():`
--
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]