apache-airflow-providers-yandex 4.2.0__py3-none-any.whl → 4.2.1__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.
- airflow/providers/yandex/__init__.py +1 -1
- airflow/providers/yandex/hooks/yandex.py +1 -1
- airflow/providers/yandex/links/yq.py +2 -2
- airflow/providers/yandex/operators/dataproc.py +2 -2
- airflow/providers/yandex/operators/yq.py +2 -2
- airflow/providers/yandex/version_compat.py +0 -21
- {apache_airflow_providers_yandex-4.2.0.dist-info → apache_airflow_providers_yandex-4.2.1.dist-info}/METADATA +47 -16
- {apache_airflow_providers_yandex-4.2.0.dist-info → apache_airflow_providers_yandex-4.2.1.dist-info}/RECORD +12 -11
- apache_airflow_providers_yandex-4.2.1.dist-info/licenses/NOTICE +5 -0
- {apache_airflow_providers_yandex-4.2.0.dist-info → apache_airflow_providers_yandex-4.2.1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_yandex-4.2.0.dist-info → apache_airflow_providers_yandex-4.2.1.dist-info}/entry_points.txt +0 -0
- {airflow/providers/yandex → apache_airflow_providers_yandex-4.2.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.2.
|
|
32
|
+
__version__ = "4.2.1"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.10.0"
|
|
@@ -20,6 +20,7 @@ from typing import Any
|
|
|
20
20
|
|
|
21
21
|
import yandexcloud
|
|
22
22
|
|
|
23
|
+
from airflow.providers.common.compat.sdk import BaseHook
|
|
23
24
|
from airflow.providers.yandex.utils.credentials import (
|
|
24
25
|
CredentialsType,
|
|
25
26
|
get_credentials,
|
|
@@ -28,7 +29,6 @@ from airflow.providers.yandex.utils.credentials import (
|
|
|
28
29
|
from airflow.providers.yandex.utils.defaults import conn_name_attr, conn_type, default_conn_name, hook_name
|
|
29
30
|
from airflow.providers.yandex.utils.fields import get_field_from_extras
|
|
30
31
|
from airflow.providers.yandex.utils.user_agent import provider_user_agent
|
|
31
|
-
from airflow.providers.yandex.version_compat import BaseHook
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class YandexCloudBaseHook(BaseHook):
|
|
@@ -18,11 +18,11 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
from typing import TYPE_CHECKING
|
|
20
20
|
|
|
21
|
-
from airflow.providers.
|
|
21
|
+
from airflow.providers.common.compat.sdk import BaseOperatorLink, XCom
|
|
22
22
|
|
|
23
23
|
if TYPE_CHECKING:
|
|
24
24
|
from airflow.models.taskinstancekey import TaskInstanceKey
|
|
25
|
-
from airflow.providers.
|
|
25
|
+
from airflow.providers.common.compat.sdk import BaseOperator, Context
|
|
26
26
|
|
|
27
27
|
XCOM_WEBLINK_KEY = "web_link"
|
|
28
28
|
|
|
@@ -23,11 +23,11 @@ from typing import TYPE_CHECKING
|
|
|
23
23
|
|
|
24
24
|
import yandexcloud
|
|
25
25
|
|
|
26
|
+
from airflow.providers.common.compat.sdk import BaseOperator
|
|
26
27
|
from airflow.providers.yandex.hooks.dataproc import DataprocHook
|
|
27
|
-
from airflow.providers.yandex.version_compat import BaseOperator
|
|
28
28
|
|
|
29
29
|
if TYPE_CHECKING:
|
|
30
|
-
from airflow.providers.
|
|
30
|
+
from airflow.providers.common.compat.sdk import Context
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
@dataclass
|
|
@@ -20,12 +20,12 @@ from collections.abc import Sequence
|
|
|
20
20
|
from functools import cached_property
|
|
21
21
|
from typing import TYPE_CHECKING, Any
|
|
22
22
|
|
|
23
|
+
from airflow.providers.common.compat.sdk import BaseOperator
|
|
23
24
|
from airflow.providers.yandex.hooks.yq import YQHook
|
|
24
25
|
from airflow.providers.yandex.links.yq import YQLink
|
|
25
|
-
from airflow.providers.yandex.version_compat import BaseOperator
|
|
26
26
|
|
|
27
27
|
if TYPE_CHECKING:
|
|
28
|
-
from airflow.providers.
|
|
28
|
+
from airflow.providers.common.compat.sdk import Context
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class YQExecuteQueryOperator(BaseOperator):
|
|
@@ -30,28 +30,7 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
|
|
|
30
30
|
AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
|
|
31
31
|
AIRFLOW_V_3_1_PLUS: bool = get_base_airflow_version_tuple() >= (3, 1, 0)
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
if AIRFLOW_V_3_1_PLUS:
|
|
35
|
-
from airflow.sdk import BaseHook
|
|
36
|
-
else:
|
|
37
|
-
from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
|
|
38
|
-
|
|
39
|
-
if AIRFLOW_V_3_0_PLUS:
|
|
40
|
-
from airflow.sdk import BaseOperator, BaseOperatorLink
|
|
41
|
-
from airflow.sdk.definitions.context import Context
|
|
42
|
-
from airflow.sdk.execution_time.xcom import XCom
|
|
43
|
-
else:
|
|
44
|
-
from airflow.models import BaseOperator, XCom
|
|
45
|
-
from airflow.models.baseoperatorlink import BaseOperatorLink # type: ignore[no-redef]
|
|
46
|
-
from airflow.utils.context import Context
|
|
47
|
-
|
|
48
|
-
|
|
49
33
|
__all__ = [
|
|
50
34
|
"AIRFLOW_V_3_0_PLUS",
|
|
51
35
|
"AIRFLOW_V_3_1_PLUS",
|
|
52
|
-
"BaseHook",
|
|
53
|
-
"BaseOperator",
|
|
54
|
-
"BaseOperatorLink",
|
|
55
|
-
"Context",
|
|
56
|
-
"XCom",
|
|
57
36
|
]
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-yandex
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.1
|
|
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>
|
|
7
7
|
Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
8
8
|
Requires-Python: >=3.10,!=3.13
|
|
9
9
|
Description-Content-Type: text/x-rst
|
|
10
|
+
License-Expression: Apache-2.0
|
|
10
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
12
|
Classifier: Environment :: Console
|
|
12
13
|
Classifier: Environment :: Web Environment
|
|
@@ -14,18 +15,20 @@ Classifier: Intended Audience :: Developers
|
|
|
14
15
|
Classifier: Intended Audience :: System Administrators
|
|
15
16
|
Classifier: Framework :: Apache Airflow
|
|
16
17
|
Classifier: Framework :: Apache Airflow :: Provider
|
|
17
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
21
|
Classifier: Topic :: System :: Monitoring
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
License-File: NOTICE
|
|
22
24
|
Requires-Dist: apache-airflow>=2.10.0
|
|
23
25
|
Requires-Dist: yandexcloud>=0.308.0; python_version < '3.13'
|
|
24
26
|
Requires-Dist: yandex-query-client>=0.1.4; python_version < '3.13'
|
|
27
|
+
Requires-Dist: apache-airflow-providers-common-compat>=1.8.0
|
|
25
28
|
Requires-Dist: apache-airflow-providers-common-compat ; extra == "common-compat"
|
|
26
29
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.
|
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.
|
|
30
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.1/changelog.html
|
|
31
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.1
|
|
29
32
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
30
33
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
31
34
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -57,9 +60,8 @@ Provides-Extra: common-compat
|
|
|
57
60
|
|
|
58
61
|
Package ``apache-airflow-providers-yandex``
|
|
59
62
|
|
|
60
|
-
Release: ``4.2.
|
|
63
|
+
Release: ``4.2.1``
|
|
61
64
|
|
|
62
|
-
Release Date: ``|PypiReleaseDate|``
|
|
63
65
|
|
|
64
66
|
This package is for Yandex, including:
|
|
65
67
|
|
|
@@ -73,12 +75,12 @@ This is a provider package for ``yandex`` provider. All classes for this provide
|
|
|
73
75
|
are in ``airflow.providers.yandex`` python package.
|
|
74
76
|
|
|
75
77
|
You can find package information and changelog for the provider
|
|
76
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.
|
|
78
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.1/>`_.
|
|
77
79
|
|
|
78
80
|
Installation
|
|
79
81
|
------------
|
|
80
82
|
|
|
81
|
-
You can install this package on top of an existing Airflow
|
|
83
|
+
You can install this package on top of an existing Airflow installation (see ``Requirements`` below
|
|
82
84
|
for the minimum Airflow version supported) via
|
|
83
85
|
``pip install apache-airflow-providers-yandex``
|
|
84
86
|
|
|
@@ -87,14 +89,43 @@ The package supports the following python versions: 3.10,3.11,3.12
|
|
|
87
89
|
Requirements
|
|
88
90
|
------------
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
PIP package
|
|
92
|
-
|
|
93
|
-
``apache-airflow``
|
|
94
|
-
``yandexcloud``
|
|
95
|
-
``yandex-query-client``
|
|
96
|
-
|
|
92
|
+
========================================== ======================================
|
|
93
|
+
PIP package Version required
|
|
94
|
+
========================================== ======================================
|
|
95
|
+
``apache-airflow`` ``>=2.10.0``
|
|
96
|
+
``yandexcloud`` ``>=0.308.0; python_version < "3.13"``
|
|
97
|
+
``yandex-query-client`` ``>=0.1.4; python_version < "3.13"``
|
|
98
|
+
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
99
|
+
========================================== ======================================
|
|
100
|
+
|
|
101
|
+
Cross provider package dependencies
|
|
102
|
+
-----------------------------------
|
|
103
|
+
|
|
104
|
+
Those are dependencies that might be needed in order to use all the features of the package.
|
|
105
|
+
You need to install the specified providers in order to use them.
|
|
106
|
+
|
|
107
|
+
You can install such cross-provider dependencies when installing from PyPI. For example:
|
|
108
|
+
|
|
109
|
+
.. code-block:: bash
|
|
110
|
+
|
|
111
|
+
pip install apache-airflow-providers-yandex[common.compat]
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
================================================================================================================== =================
|
|
115
|
+
Dependent package Extra
|
|
116
|
+
================================================================================================================== =================
|
|
117
|
+
`apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
|
|
118
|
+
================================================================================================================== =================
|
|
119
|
+
|
|
120
|
+
Optional dependencies
|
|
121
|
+
----------------------
|
|
122
|
+
|
|
123
|
+
================= ==========================================
|
|
124
|
+
Extra Dependencies
|
|
125
|
+
================= ==========================================
|
|
126
|
+
``common.compat`` ``apache-airflow-providers-common-compat``
|
|
127
|
+
================= ==========================================
|
|
97
128
|
|
|
98
129
|
The changelog for the provider package can be found in the
|
|
99
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.
|
|
130
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.2.1/changelog.html>`_.
|
|
100
131
|
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
airflow/providers/yandex/
|
|
2
|
-
airflow/providers/yandex/__init__.py,sha256=YDygjzuZt5SxJ-wZ31Re-ffhJg4a4FnO-zWznCwvWeU,1495
|
|
1
|
+
airflow/providers/yandex/__init__.py,sha256=Np421ffpCOogwfucs-Ccjbgc5Qe9h69n75lQBP9t8ZI,1495
|
|
3
2
|
airflow/providers/yandex/get_provider_info.py,sha256=eihBGmOy9ljwxZQLES-Fi0RdSKWGze07VtFBRUITLP0,4015
|
|
4
|
-
airflow/providers/yandex/version_compat.py,sha256=
|
|
3
|
+
airflow/providers/yandex/version_compat.py,sha256=vtJvU2K5KMXOjTPGDc58tkbBn6Ys8SEro15TNMrIO5Q,1296
|
|
5
4
|
airflow/providers/yandex/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
6
5
|
airflow/providers/yandex/hooks/dataproc.py,sha256=8ykGvlZUAjAKHpypiOYcWVJk7u-WNjfEohuyOy1Okss,1944
|
|
7
|
-
airflow/providers/yandex/hooks/yandex.py,sha256=
|
|
6
|
+
airflow/providers/yandex/hooks/yandex.py,sha256=TJKvsawI8N1PDqeJPolpGg-pS80rV-ke58tbhbPGz2g,6451
|
|
8
7
|
airflow/providers/yandex/hooks/yq.py,sha256=Qh1ZTp8OVKvQ6sFzmKUMe3kbkYT5v7D4qEq6VsKtB2k,3503
|
|
9
8
|
airflow/providers/yandex/links/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
10
|
-
airflow/providers/yandex/links/yq.py,sha256=
|
|
9
|
+
airflow/providers/yandex/links/yq.py,sha256=ijtwys-BlDhDWOY0wMoyKujfjYsbbzUVzeMZ8thBHhQ,1545
|
|
11
10
|
airflow/providers/yandex/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
12
|
-
airflow/providers/yandex/operators/dataproc.py,sha256=
|
|
13
|
-
airflow/providers/yandex/operators/yq.py,sha256=
|
|
11
|
+
airflow/providers/yandex/operators/dataproc.py,sha256=vsToeSUXmQLD6anhcs8vO_i63A_G0HhundhCNRmQw4k,26275
|
|
12
|
+
airflow/providers/yandex/operators/yq.py,sha256=WBF7sVVeiACA5iPcoi69mcXPE1H--_xuuT4LoZLK1mQ,3279
|
|
14
13
|
airflow/providers/yandex/secrets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
15
14
|
airflow/providers/yandex/secrets/lockbox.py,sha256=gUYWJE2qEvAZRz35qv0iKYK33BGnWesahZFuQgK5_kM,12168
|
|
16
15
|
airflow/providers/yandex/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
@@ -18,7 +17,9 @@ airflow/providers/yandex/utils/credentials.py,sha256=l-8lIkQaIXTsNP_hMfP_tVADM54
|
|
|
18
17
|
airflow/providers/yandex/utils/defaults.py,sha256=CXt75MhGJe8echoDpl1vR4VG5bEvYDDjIHmFqckDh2w,950
|
|
19
18
|
airflow/providers/yandex/utils/fields.py,sha256=1D8SDWH8h0djj5Hnk50w6BpPeNJyP-689Qfjpkr-yCg,1728
|
|
20
19
|
airflow/providers/yandex/utils/user_agent.py,sha256=AC-WEzhjxkgUYOy4LdX2-nnUZdMhKRRUCJ2_TjfNm6k,1839
|
|
21
|
-
apache_airflow_providers_yandex-4.2.
|
|
22
|
-
apache_airflow_providers_yandex-4.2.
|
|
23
|
-
apache_airflow_providers_yandex-4.2.
|
|
24
|
-
apache_airflow_providers_yandex-4.2.
|
|
20
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/entry_points.txt,sha256=ApXKRkvdgU2QNSQovjewC0b-LptwfBGBnJB3LTgBNx8,102
|
|
21
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/licenses/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
22
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/licenses/NOTICE,sha256=E3-_E02gwwSEFzeeWPKmnIjOoos3hW28CLISV6sYrbQ,168
|
|
23
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
24
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/METADATA,sha256=YKh1dJnnm44U891jqAC0cZriw_FLGqzO-CQnTNa-VVM,5890
|
|
25
|
+
apache_airflow_providers_yandex-4.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{airflow/providers/yandex → apache_airflow_providers_yandex-4.2.1.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|