You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2025/07/04 12:24:04 UTC

(airflow) branch v3-0-test updated: [v3-0-test] Run trigger expansion logic only when ``start_from_trigger`` is True (#52861) (#52873)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 32158e1ec65 [v3-0-test] Run trigger expansion logic only when ``start_from_trigger`` is True (#52861) (#52873)
32158e1ec65 is described below

commit 32158e1ec650546ef4007116be406d5d568f1feb
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri Jul 4 17:53:57 2025 +0530

    [v3-0-test] Run trigger expansion logic only when ``start_from_trigger`` is True (#52861) (#52873)
    
    (cherry picked from commit f20b7206bbd00931036f64536bb7b83515044d05)
    
    
    closes: #52845
    
    Co-authored-by: Rahul Vats <43...@users.noreply.github.com>
---
 airflow-core/src/airflow/models/mappedoperator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/models/mappedoperator.py b/airflow-core/src/airflow/models/mappedoperator.py
index bc598ef0469..205e8da16dd 100644
--- a/airflow-core/src/airflow/models/mappedoperator.py
+++ b/airflow-core/src/airflow/models/mappedoperator.py
@@ -62,7 +62,7 @@ class MappedOperator(TaskSDKMappedOperator):  # type: ignore[misc] # It complain
 
         :meta private:
         """
-        if self.partial_kwargs.get("start_from_trigger", self.start_from_trigger):
+        if not self.partial_kwargs.get("start_from_trigger", self.start_from_trigger):
             log.warning(
                 "Starting a mapped task from triggerer is currently unsupported",
                 task_id=self.task_id,