kaxil commented on code in PR #28230:
URL: https://github.com/apache/airflow/pull/28230#discussion_r1054791833


##########
airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py:
##########
@@ -437,6 +442,10 @@ def hook(self) -> KubernetesHook:
     def client(self) -> CoreV1Api:
         return self.hook.core_v1_client
 
+    def get_hook(self):
+        warnings.warn("get_hook is deprecated. Please use hook instead.", 
DeprecationWarning, stacklevel=2)
+        return self.hook
+

Review Comment:
   Let's avoid those unrelated changes please -- makes it difficult for 
checking git history



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to