amoghrajesh commented on code in PR #56965:
URL: https://github.com/apache/airflow/pull/56965#discussion_r2451475196


##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -189,6 +200,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 FeatureNotAvailable("Setting `fail_when_dag_is_paused` not 
yet supported for Airflow 3.0")

Review Comment:
   Can we not repurpose using standard exceptions like `NotImplementedError`? 
That should be more appropriate for this I believe? (also because this is 
temporary gate until it will eventually be enabled back)



-- 
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]

Reply via email to