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

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

commit fe8a2e96f8f7666e022273e9d82d7e552ec3c159
Author: Amogh Desai <[email protected]>
AuthorDate: Sat Jul 19 10:56:14 2025 +0530

    Remove warning for `BaseOperator.executor` because its false (#53496)
    
    (cherry picked from commit 00194da372d1726794e806fb9954ee0d97939b83)
---
 task-sdk/src/airflow/sdk/bases/operator.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/task-sdk/src/airflow/sdk/bases/operator.py 
b/task-sdk/src/airflow/sdk/bases/operator.py
index 61b761d7bfa..5de513bda9e 100644
--- a/task-sdk/src/airflow/sdk/bases/operator.py
+++ b/task-sdk/src/airflow/sdk/bases/operator.py
@@ -1072,13 +1072,6 @@ class BaseOperator(AbstractOperator, 
metaclass=BaseOperatorMeta):
 
         if end_date:
             self.end_date = timezone.convert_to_utc(end_date)
-
-        if executor:
-            warnings.warn(
-                "Specifying executors for operators is not yet supported, the 
value {executor!r} will have no effect",
-                category=UserWarning,
-                stacklevel=2,
-            )
         self.executor = executor
         self.executor_config = executor_config or {}
         self.run_as_user = run_as_user

Reply via email to