AutomationDev85 commented on code in PR #60254:
URL: https://github.com/apache/airflow/pull/60254#discussion_r2681482577
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/hooks/kubernetes.py:
##########
@@ -307,11 +326,11 @@ def get_conn(self) -> client.ApiClient:
client_configuration=self.client_configuration,
context=cluster_context,
)
- return client.ApiClient()
+ return _TimeoutK8sApiClient()
return self._get_default_client(cluster_context=cluster_context)
- def _get_default_client(self, *, cluster_context: str | None = None) ->
client.ApiClient:
+ def _get_default_client(self, *, cluster_context: str | None = None) ->
_TimeoutK8sApiClient:
Review Comment:
done
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/hooks/kubernetes.py:
##########
@@ -239,7 +258,7 @@ def _get_field(self, field_name):
prefixed_name = f"extra__kubernetes__{field_name}"
return self.conn_extras.get(prefixed_name) or None
- def get_conn(self) -> client.ApiClient:
+ def get_conn(self) -> _TimeoutK8sApiClient:
Review Comment:
done
--
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]