jason810496 commented on code in PR #45961:
URL: https://github.com/apache/airflow/pull/45961#discussion_r1964598864
##########
airflow/utils/types.py:
##########
@@ -57,6 +57,11 @@ def from_run_id(run_id: str) -> DagRunType:
return DagRunType.MANUAL
+externally_triggered_type: frozenset[DagRunType] = frozenset(
+ [DagRunType.BACKFILL_JOB, DagRunType.MANUAL, DagRunType.ASSET_TRIGGERED]
+)
Review Comment:
This is not currently used, I will remove it. It came up during the
discussion above, but instead of introducing `externally_triggered_type`,
simply comparing `run_type != DagRunType.SCHEDULED` is a much cleaner approach.
--
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]