Bowrna commented on code in PR #38683:
URL: https://github.com/apache/airflow/pull/38683#discussion_r1548239659
##########
airflow/models/dag.py:
##########
@@ -690,6 +694,7 @@ def __init__(
)
self.dagrun_timeout = dagrun_timeout
self.sla_miss_callback = sla_miss_callback
+ self.toggle_dag_callback = toggle_dag_callback
Review Comment:
@potiuk I have added toggle callback in dag and considering if it could be
handled like how manage_slas are handled in processor.py by checking if it
violates sla and send callback and additional email notification
Do you think this would be the right direction to proceed?
--
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]