dimberman commented on a change in pull request #15388:
URL: https://github.com/apache/airflow/pull/15388#discussion_r614371685



##########
File path: airflow/kubernetes/pod_generator.py
##########
@@ -157,6 +136,10 @@ def gen_pod(self) -> k8s.V1Pod:
     @staticmethod
     def add_xcom_sidecar(pod: k8s.V1Pod) -> k8s.V1Pod:
         """Adds sidecar"""
+        warnings.warn(
+            "This function is deprecated. "
+            "Please use 
airflow.providers.cncf.kubernetes.utils.xcom_sidecar.add_xcom_sidecar instead"

Review comment:
       added




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to