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

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 32b41860108 Remove old comment about excluding `executor_config` 
(#48830)
32b41860108 is described below

commit 32b418601089ac340aa1408c55cdd206b11879c6
Author: Kaxil Naik <[email protected]>
AuthorDate: Sat Apr 5 15:10:13 2025 +0530

    Remove old comment about excluding `executor_config` (#48830)
    
    This comment isn't true as of https://github.com/apache/airflow/pull/48826
---
 .../providers/cncf/kubernetes/executors/kubernetes_executor_utils.py    | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py
 
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py
index f73c8f6d6d4..33ad9f80b2f 100644
--- 
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py
+++ 
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py
@@ -395,8 +395,6 @@ class AirflowKubernetesScheduler(LoggingMixin):
 
             if isinstance(command[0], ExecuteTask):
                 workload = command[0]
-                # `executor_config` is a k8s.V1Pod object and we do not need 
to pass it to the
-                # execute_workload module. So, we exclude it from the 
serialisation process.
                 ser_input = workload.model_dump_json()
                 command = [
                     "python",

Reply via email to