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

henry3260 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 a8c80c88b8c Remove deprecated client property from Yandex DataprocHook 
(#76128)
a8c80c88b8c is described below

commit a8c80c88b8ca6de1a16248446e4874497717c742
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Oct 31 12:48:58 2026 +0200

    Remove deprecated client property from Yandex DataprocHook (#76128)
    
    Remove the client property and its setter from DataprocHook, deprecated 
since 2024-08-04 in #40997. Use dataproc_client instead; client is now the base 
Yandex Cloud SDK client, as in other Yandex hooks.
---
 providers/yandex/docs/changelog.rst                       |  4 ++++
 .../yandex/src/airflow/providers/yandex/hooks/dataproc.py | 15 ---------------
 2 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/providers/yandex/docs/changelog.rst 
b/providers/yandex/docs/changelog.rst
index fb323285de5..d55ebc27f26 100644
--- a/providers/yandex/docs/changelog.rst
+++ b/providers/yandex/docs/changelog.rst
@@ -27,6 +27,10 @@
 Changelog
 ---------
 
+.. warning::
+  The deprecated ``DataprocHook.client`` property has been removed. Use 
``dataproc_client`` instead.
+  ``DataprocHook.client`` now returns the base Yandex Cloud SDK client, like 
other Yandex hooks.
+
 4.6.1
 .....
 
diff --git a/providers/yandex/src/airflow/providers/yandex/hooks/dataproc.py 
b/providers/yandex/src/airflow/providers/yandex/hooks/dataproc.py
index 1b906613aee..a42ad2c76b7 100644
--- a/providers/yandex/src/airflow/providers/yandex/hooks/dataproc.py
+++ b/providers/yandex/src/airflow/providers/yandex/hooks/dataproc.py
@@ -18,9 +18,6 @@ from __future__ import annotations
 
 from typing import TYPE_CHECKING
 
-from deprecated import deprecated
-
-from airflow.exceptions import AirflowProviderDeprecationWarning
 from airflow.providers.yandex.hooks.yandex import YandexCloudBaseHook
 
 if TYPE_CHECKING:
@@ -41,15 +38,3 @@ class DataprocHook(YandexCloudBaseHook):
             default_folder_id=self.default_folder_id,
             default_public_ssh_key=self.default_public_ssh_key,
         )
-
-    @property
-    @deprecated(
-        reason="`client` deprecated and will be removed in the future. Use 
`dataproc_client` instead",
-        category=AirflowProviderDeprecationWarning,
-    )
-    def client(self):
-        return self.dataproc_client
-
-    @client.setter
-    def client(self, value):
-        self.dataproc_client = value

Reply via email to