ephraimbuddy commented on code in PR #56924:
URL: https://github.com/apache/airflow/pull/56924#discussion_r2655008008


##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -264,7 +272,26 @@ def execute(self, context: Context):
             )
 
     def _trigger_dag_af_3(self, context, run_id, parsed_logical_date):
-        from airflow.providers.common.compat.sdk import DagRunTriggerException
+        try:
+            from airflow.providers.common.compat.sdk import 
DagRunTriggerException
+        except Exception:
+            if TYPE_CHECKING:
+                from airflow.providers.common.compat.sdk import (

Review Comment:
   I don't think this change is related to adding note to triggerdagrun 
operator. Can you specifically add the note and raise a different PR if you 
have other issues?



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