You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2025/10/22 10:28:17 UTC
Re: [PR] Throw NotImplementedError error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3 [airflow]
eladkal commented on code in PR #56965:
URL: https://github.com/apache/airflow/pull/56965#discussion_r2451528126
##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -189,6 +189,9 @@ def __init__(
f"Expected str, datetime.datetime, or None for parameter 'logical_date'. Got {type(logical_date).__name__}"
)
+ if fail_when_dag_is_paused and AIRFLOW_V_3_0_PLUS:
+ raise NotImplementedError("Setting `fail_when_dag_is_paused` not yet supported for Airflow 3.0")
Review Comment:
it says 3.0 but you are using `AIRFLOW_V_3_0_PLUS` which is for 3.0+
should it be 3.x?
--
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