MRLab12 commented on code in PR #42005:
URL: https://github.com/apache/airflow/pull/42005#discussion_r1797192492
##########
airflow/models/baseoperator.py:
##########
@@ -909,6 +909,7 @@ def __init__(
task_display_name: str | None = None,
logger_name: str | None = None,
allow_nested_operators: bool = True,
+ call_on_kill_on_dagrun_timeout: bool = True,
Review Comment:
@RNHTTR can help clarify, but basically this change would allow tasks to run
on_kill when a dagrun reaches timeout. The use case given in the issue is that
"Some users would like for externally running workloads (e.g. snowflake, emr,
bigquery, etc etc) to stop executing when a DAG run times out." . With this
flag the user will have more control on what behavior they want when there's a
timeout.
--
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]