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


##########
providers/src/airflow/providers/standard/operators/latest_only.py:
##########
@@ -53,7 +54,7 @@ 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:
+        if dag_run.run_type == DagRunType.MANUAL:

Review Comment:
   so this is about short circuiting the "latest only check" when dag is 
externally-triggered.  I don't think it makes a lot of sense to short circuit 
this when backfilling since, isn't that the point of the latest only operator?
   



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