sunank200 commented on code in PR #53389:
URL: https://github.com/apache/airflow/pull/53389#discussion_r2268761349


##########
task-sdk/src/airflow/sdk/api/datamodels/_generated.py:
##########
@@ -472,6 +472,22 @@ class TaskInstanceState(str, Enum):
     DEFERRED = "deferred"
 
 
+class TriggerRule(str, Enum):

Review Comment:
   Moved it



##########
airflow-core/src/airflow/example_dags/example_latest_only_with_trigger.py:
##########
@@ -29,7 +29,7 @@
 from airflow.providers.standard.operators.empty import EmptyOperator
 from airflow.providers.standard.operators.latest_only import LatestOnlyOperator
 from airflow.sdk import DAG
-from airflow.utils.trigger_rule import TriggerRule
+from airflow.sdk.api.datamodels._generated import TriggerRule

Review Comment:
   Added the backward compatibility.



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