uranusjr commented on code in PR #45961:
URL: https://github.com/apache/airflow/pull/45961#discussion_r1962578093


##########
providers/standard/src/airflow/providers/standard/operators/latest_only.py:
##########
@@ -53,8 +54,8 @@ def choose_branch(self, context: Context) -> str | 
Iterable[str]:
         # If the DAG Run is externally triggered, then return without
         # skipping downstream tasks
         dag_run: DagRun = context["dag_run"]  # type: ignore[assignment]
-        if dag_run.external_trigger:
-            self.log.info("Externally triggered DAG_Run: allowing execution to 
proceed.")
+        if dag_run.run_type != DagRunType.SCHEDULED:

Review Comment:
   Should this check against MANUAL instead?



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