apache-airflow-providers-yandex 3.7.1rc1__py3-none-any.whl → 3.8.0rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "3.7.1"
30
+ __version__ = "3.8.0"
31
31
 
32
32
  try:
33
33
  from airflow import __version__ as airflow_version
@@ -27,9 +27,10 @@ def get_provider_info():
27
27
  "package-name": "apache-airflow-providers-yandex",
28
28
  "name": "Yandex",
29
29
  "description": "Yandex including `Yandex.Cloud <https://cloud.yandex.com/>`__\n",
30
- "suspended": False,
31
- "source-date-epoch": 1703288182,
30
+ "state": "ready",
31
+ "source-date-epoch": 1705912322,
32
32
  "versions": [
33
+ "3.8.0",
33
34
  "3.7.1",
34
35
  "3.7.0",
35
36
  "3.6.0",
@@ -104,7 +104,12 @@ class YandexCloudBaseHook(BaseHook):
104
104
  )
105
105
  ).strip()
106
106
  except KeyError:
107
- warnings.warn(f"Hook '{cls.hook_name}' info is not initialized in airflow.ProviderManager")
107
+ warnings.warn(
108
+ f"Hook '{cls.hook_name}' info is not initialized in airflow.ProviderManager",
109
+ UserWarning,
110
+ stacklevel=2,
111
+ )
112
+
108
113
  return None
109
114
 
110
115
  @classmethod
@@ -123,8 +128,9 @@ class YandexCloudBaseHook(BaseHook):
123
128
  default_folder_id: str | None = None,
124
129
  default_public_ssh_key: str | None = None,
125
130
  default_service_account_id: str | None = None,
131
+ **kwargs,
126
132
  ) -> None:
127
- super().__init__()
133
+ super().__init__(**kwargs)
128
134
  if connection_id:
129
135
  warnings.warn(
130
136
  "Using `connection_id` is deprecated. Please use `yandex_conn_id` parameter.",
@@ -20,6 +20,7 @@ import warnings
20
20
  from dataclasses import dataclass
21
21
  from typing import TYPE_CHECKING, Iterable, Sequence
22
22
 
23
+ from airflow.exceptions import AirflowProviderDeprecationWarning
23
24
  from airflow.models import BaseOperator
24
25
  from airflow.providers.yandex.hooks.yandexcloud_dataproc import DataprocHook
25
26
 
@@ -261,7 +262,11 @@ class DataprocBaseOperator(BaseOperator):
261
262
  if self.yandex_conn_id is None:
262
263
  xcom_yandex_conn_id = context["task_instance"].xcom_pull(key="yandexcloud_connection_id")
263
264
  if xcom_yandex_conn_id:
264
- warnings.warn("Implicit pass of `yandex_conn_id` is deprecated, please pass it explicitly")
265
+ warnings.warn(
266
+ "Implicit pass of `yandex_conn_id` is deprecated, please pass it explicitly",
267
+ AirflowProviderDeprecationWarning,
268
+ stacklevel=2,
269
+ )
265
270
  self.yandex_conn_id = xcom_yandex_conn_id
266
271
 
267
272
  return DataprocHook(yandex_conn_id=self.yandex_conn_id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-yandex
3
- Version: 3.7.1rc1
3
+ Version: 3.8.0rc1
4
4
  Summary: Provider package apache-airflow-providers-yandex for Apache Airflow
5
5
  Keywords: airflow-provider,yandex,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -23,8 +23,8 @@ Classifier: Topic :: System :: Monitoring
23
23
  Requires-Dist: apache-airflow>=2.6.0.dev0
24
24
  Requires-Dist: yandexcloud>=0.228.0
25
25
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
26
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.7.1/changelog.html
27
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.7.1
26
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.8.0/changelog.html
27
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.8.0
28
28
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
29
29
  Project-URL: Source Code, https://github.com/apache/airflow
30
30
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -74,7 +74,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
74
74
 
75
75
  Package ``apache-airflow-providers-yandex``
76
76
 
77
- Release: ``3.7.1.rc1``
77
+ Release: ``3.8.0.rc1``
78
78
 
79
79
 
80
80
  Yandex including `Yandex.Cloud <https://cloud.yandex.com/>`__
@@ -87,7 +87,7 @@ This is a provider package for ``yandex`` provider. All classes for this provide
87
87
  are in ``airflow.providers.yandex`` python package.
88
88
 
89
89
  You can find package information and changelog for the provider
90
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.7.1/>`_.
90
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.8.0/>`_.
91
91
 
92
92
  Installation
93
93
  ------------
@@ -109,4 +109,4 @@ PIP package Version required
109
109
  ================== ==================
110
110
 
111
111
  The changelog for the provider package can be found in the
112
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.7.1/changelog.html>`_.
112
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/3.8.0/changelog.html>`_.
@@ -0,0 +1,12 @@
1
+ airflow/providers/yandex/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
2
+ airflow/providers/yandex/__init__.py,sha256=KdQqCxiJCKIFkGbCI64WjiT33_ChwHJaK7mEmpjX09U,1581
3
+ airflow/providers/yandex/get_provider_info.py,sha256=Zs84s-mxtBCI_V9_PW7c4QF5FX1Ebp2mcVWAjanfTyo,3783
4
+ airflow/providers/yandex/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
+ airflow/providers/yandex/hooks/yandex.py,sha256=BWGm_bmUQ_zOpqrSuLjla7SyiNmET1iLkXplqEilpGw,8535
6
+ airflow/providers/yandex/hooks/yandexcloud_dataproc.py,sha256=1UdqxDMI7uL6fNkG6oU6l2tFITF_nHXiV1VUgRqF7KY,1379
7
+ airflow/providers/yandex/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
8
+ airflow/providers/yandex/operators/yandexcloud_dataproc.py,sha256=OUZgH3WdtgwRtaDITgHXQwHA4lL1LSOR6jOfHMS3f4w,25956
9
+ apache_airflow_providers_yandex-3.8.0rc1.dist-info/entry_points.txt,sha256=ApXKRkvdgU2QNSQovjewC0b-LptwfBGBnJB3LTgBNx8,102
10
+ apache_airflow_providers_yandex-3.8.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
11
+ apache_airflow_providers_yandex-3.8.0rc1.dist-info/METADATA,sha256=b8rvlkRVBR-SwpL3jrdw4cfSHl_pOXpbg3nyKcSqS_Q,4721
12
+ apache_airflow_providers_yandex-3.8.0rc1.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- airflow/providers/yandex/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
2
- airflow/providers/yandex/__init__.py,sha256=Vdu9BBO3kjaYAIF2cVeDSuxnxFDpGgYTOpsc6ak8-Qk,1581
3
- airflow/providers/yandex/get_provider_info.py,sha256=N1_Qve96LMcOIO8wjAMwCsoAPvuyuaXagjkenGzur-8,3764
4
- airflow/providers/yandex/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
- airflow/providers/yandex/hooks/yandex.py,sha256=EMBLJ3eYFRASIVxf-SusHVcxQqZmrWkutTqOnH2ry7Q,8418
6
- airflow/providers/yandex/hooks/yandexcloud_dataproc.py,sha256=1UdqxDMI7uL6fNkG6oU6l2tFITF_nHXiV1VUgRqF7KY,1379
7
- airflow/providers/yandex/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
8
- airflow/providers/yandex/operators/yandexcloud_dataproc.py,sha256=F7CHR-_BFQ4DVL-jpO7LxJs5qCUQHJJ4Q26GXiHPXP8,25763
9
- apache_airflow_providers_yandex-3.7.1rc1.dist-info/entry_points.txt,sha256=ApXKRkvdgU2QNSQovjewC0b-LptwfBGBnJB3LTgBNx8,102
10
- apache_airflow_providers_yandex-3.7.1rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
11
- apache_airflow_providers_yandex-3.7.1rc1.dist-info/METADATA,sha256=JS9wUGn-XPx8YGOB-wdq1vPgIpdStkUpbMkw7Sq3CjE,4721
12
- apache_airflow_providers_yandex-3.7.1rc1.dist-info/RECORD,,