You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by am...@apache.org on 2025/07/19 05:36:15 UTC
(airflow) branch backport-00194da-v3-0-test created (now fe8a2e96f8f)
This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a change to branch backport-00194da-v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
at fe8a2e96f8f Remove warning for `BaseOperator.executor` because its false (#53496)
This branch includes the following new commits:
new fe8a2e96f8f Remove warning for `BaseOperator.executor` because its false (#53496)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow) 01/01: Remove warning for `BaseOperator.executor` because its false (#53496)
Posted by am...@apache.org.
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 <am...@gmail.com>
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