This is an automated email from the ASF dual-hosted git repository.
husseinawala 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 a7700c1567 Add reminder about update stub file in case of change
KubernetesPodOperator's arguments (#36434)
a7700c1567 is described below
commit a7700c1567b08f29280a9e6c11be2ee1bf1f3a9b
Author: Andrey Anshin <[email protected]>
AuthorDate: Tue Dec 26 14:17:47 2023 +0400
Add reminder about update stub file in case of change
KubernetesPodOperator's arguments (#36434)
---
airflow/providers/cncf/kubernetes/operators/pod.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/airflow/providers/cncf/kubernetes/operators/pod.py
b/airflow/providers/cncf/kubernetes/operators/pod.py
index 6d79991b1b..40293121c8 100644
--- a/airflow/providers/cncf/kubernetes/operators/pod.py
+++ b/airflow/providers/cncf/kubernetes/operators/pod.py
@@ -200,6 +200,9 @@ class KubernetesPodOperator(BaseOperator):
:param progress_callback: Callback function for receiving k8s container
logs.
"""
+ # !!! Changes in KubernetesPodOperator's arguments should be also
reflected in !!!
+ # - airflow/decorators/__init__.pyi (by a separate PR)
+
# This field can be overloaded at the instance level via
base_container_name
BASE_CONTAINER_NAME = "base"
ISTIO_CONTAINER_NAME = "istio-proxy"