apache-airflow-providers-yandex 4.0.0rc2__tar.gz → 4.0.1__tar.gz
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.
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1}/PKG-INFO +10 -27
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1}/README.rst +4 -22
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1}/pyproject.toml +13 -9
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/LICENSE +0 -52
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/__init__.py +1 -1
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/get_provider_info.py +7 -7
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/links/yq.py +6 -1
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/operators/dataproc.py +5 -1
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/operators/yq.py +5 -1
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/hooks/__init__.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/hooks/dataproc.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/hooks/yandex.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/hooks/yq.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/links/__init__.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/operators/__init__.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/secrets/__init__.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/secrets/lockbox.py +2 -2
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/utils/__init__.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/utils/credentials.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/utils/defaults.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/utils/fields.py +0 -0
- {apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1/src}/airflow/providers/yandex/utils/user_agent.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: apache-airflow-providers-yandex
|
3
|
-
Version: 4.0.
|
3
|
+
Version: 4.0.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>
|
@@ -20,35 +20,18 @@ Classifier: Programming Language :: Python :: 3.10
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
23
|
-
Requires-Dist: apache-airflow>=2.9.
|
24
|
-
Requires-Dist: yandex-query-client>=0.1.4
|
23
|
+
Requires-Dist: apache-airflow>=2.9.0
|
25
24
|
Requires-Dist: yandexcloud>=0.308.0
|
25
|
+
Requires-Dist: yandex-query-client>=0.1.4
|
26
26
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
27
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html
|
28
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1
|
29
29
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
30
30
|
Project-URL: Source Code, https://github.com/apache/airflow
|
31
31
|
Project-URL: Twitter, https://x.com/ApacheAirflow
|
32
32
|
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
33
33
|
|
34
34
|
|
35
|
-
.. Licensed to the Apache Software Foundation (ASF) under one
|
36
|
-
or more contributor license agreements. See the NOTICE file
|
37
|
-
distributed with this work for additional information
|
38
|
-
regarding copyright ownership. The ASF licenses this file
|
39
|
-
to you under the Apache License, Version 2.0 (the
|
40
|
-
"License"); you may not use this file except in compliance
|
41
|
-
with the License. You may obtain a copy of the License at
|
42
|
-
|
43
|
-
.. http://www.apache.org/licenses/LICENSE-2.0
|
44
|
-
|
45
|
-
.. Unless required by applicable law or agreed to in writing,
|
46
|
-
software distributed under the License is distributed on an
|
47
|
-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
48
|
-
KIND, either express or implied. See the License for the
|
49
|
-
specific language governing permissions and limitations
|
50
|
-
under the License.
|
51
|
-
|
52
35
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
53
36
|
or more contributor license agreements. See the NOTICE file
|
54
37
|
distributed with this work for additional information
|
@@ -66,8 +49,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
66
49
|
specific language governing permissions and limitations
|
67
50
|
under the License.
|
68
51
|
|
69
|
-
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
70
|
-
OVERWRITTEN WHEN PREPARING PACKAGES.
|
52
|
+
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
71
53
|
|
72
54
|
.. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
73
55
|
`PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
@@ -75,7 +57,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
75
57
|
|
76
58
|
Package ``apache-airflow-providers-yandex``
|
77
59
|
|
78
|
-
Release: ``4.0.
|
60
|
+
Release: ``4.0.1``
|
79
61
|
|
80
62
|
|
81
63
|
This package is for Yandex, including:
|
@@ -90,7 +72,7 @@ This is a provider package for ``yandex`` provider. All classes for this provide
|
|
90
72
|
are in ``airflow.providers.yandex`` python package.
|
91
73
|
|
92
74
|
You can find package information and changelog for the provider
|
93
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
75
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/>`_.
|
94
76
|
|
95
77
|
Installation
|
96
78
|
------------
|
@@ -113,4 +95,5 @@ PIP package Version required
|
|
113
95
|
======================= ==================
|
114
96
|
|
115
97
|
The changelog for the provider package can be found in the
|
116
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
98
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html>`_.
|
99
|
+
|
{apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1}/README.rst
RENAMED
@@ -1,21 +1,4 @@
|
|
1
1
|
|
2
|
-
.. Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
or more contributor license agreements. See the NOTICE file
|
4
|
-
distributed with this work for additional information
|
5
|
-
regarding copyright ownership. The ASF licenses this file
|
6
|
-
to you under the Apache License, Version 2.0 (the
|
7
|
-
"License"); you may not use this file except in compliance
|
8
|
-
with the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
.. http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
.. Unless required by applicable law or agreed to in writing,
|
13
|
-
software distributed under the License is distributed on an
|
14
|
-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
KIND, either express or implied. See the License for the
|
16
|
-
specific language governing permissions and limitations
|
17
|
-
under the License.
|
18
|
-
|
19
2
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
20
3
|
or more contributor license agreements. See the NOTICE file
|
21
4
|
distributed with this work for additional information
|
@@ -33,8 +16,7 @@
|
|
33
16
|
specific language governing permissions and limitations
|
34
17
|
under the License.
|
35
18
|
|
36
|
-
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
37
|
-
OVERWRITTEN WHEN PREPARING PACKAGES.
|
19
|
+
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
38
20
|
|
39
21
|
.. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
40
22
|
`PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
@@ -42,7 +24,7 @@
|
|
42
24
|
|
43
25
|
Package ``apache-airflow-providers-yandex``
|
44
26
|
|
45
|
-
Release: ``4.0.
|
27
|
+
Release: ``4.0.1``
|
46
28
|
|
47
29
|
|
48
30
|
This package is for Yandex, including:
|
@@ -57,7 +39,7 @@ This is a provider package for ``yandex`` provider. All classes for this provide
|
|
57
39
|
are in ``airflow.providers.yandex`` python package.
|
58
40
|
|
59
41
|
You can find package information and changelog for the provider
|
60
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
42
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/>`_.
|
61
43
|
|
62
44
|
Installation
|
63
45
|
------------
|
@@ -80,4 +62,4 @@ PIP package Version required
|
|
80
62
|
======================= ==================
|
81
63
|
|
82
64
|
The changelog for the provider package can be found in the
|
83
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
65
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html>`_.
|
{apache_airflow_providers_yandex-4.0.0rc2 → apache_airflow_providers_yandex-4.0.1}/pyproject.toml
RENAMED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
# Licensed to the Apache Software Foundation (ASF) under one
|
3
2
|
# or more contributor license agreements. See the NOTICE file
|
4
3
|
# distributed with this work for additional information
|
@@ -16,10 +15,9 @@
|
|
16
15
|
# specific language governing permissions and limitations
|
17
16
|
# under the License.
|
18
17
|
|
19
|
-
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
20
|
-
# OVERWRITTEN WHEN PREPARING PACKAGES.
|
18
|
+
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
21
19
|
|
22
|
-
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
20
|
+
# IF YOU WANT TO MODIFY THIS FILE EXCEPT DEPENDENCIES, YOU SHOULD MODIFY THE TEMPLATE
|
23
21
|
# `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
24
22
|
[build-system]
|
25
23
|
requires = ["flit_core==3.10.1"]
|
@@ -27,7 +25,7 @@ build-backend = "flit_core.buildapi"
|
|
27
25
|
|
28
26
|
[project]
|
29
27
|
name = "apache-airflow-providers-yandex"
|
30
|
-
version = "4.0.
|
28
|
+
version = "4.0.1"
|
31
29
|
description = "Provider package apache-airflow-providers-yandex for Apache Airflow"
|
32
30
|
readme = "README.rst"
|
33
31
|
authors = [
|
@@ -53,15 +51,18 @@ classifiers = [
|
|
53
51
|
"Topic :: System :: Monitoring",
|
54
52
|
]
|
55
53
|
requires-python = "~=3.9"
|
54
|
+
|
55
|
+
# The dependencies should be modified in place in the generated file
|
56
|
+
# Any change in the dependencies is preserved when the file is regenerated
|
56
57
|
dependencies = [
|
57
|
-
"apache-airflow>=2.9.
|
58
|
-
"yandex-query-client>=0.1.4",
|
58
|
+
"apache-airflow>=2.9.0",
|
59
59
|
"yandexcloud>=0.308.0",
|
60
|
+
"yandex-query-client>=0.1.4",
|
60
61
|
]
|
61
62
|
|
62
63
|
[project.urls]
|
63
|
-
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
64
|
-
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.
|
64
|
+
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1"
|
65
|
+
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html"
|
65
66
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
66
67
|
"Source Code" = "https://github.com/apache/airflow"
|
67
68
|
"Slack Chat" = "https://s.apache.org/airflow-slack"
|
@@ -73,3 +74,6 @@ provider_info = "airflow.providers.yandex.get_provider_info:get_provider_info"
|
|
73
74
|
|
74
75
|
[tool.flit.module]
|
75
76
|
name = "airflow.providers.yandex"
|
77
|
+
|
78
|
+
[tool.pytest.ini_options]
|
79
|
+
ignore = "tests/system/"
|
@@ -199,55 +199,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
201
|
limitations under the License.
|
202
|
-
|
203
|
-
============================================================================
|
204
|
-
APACHE AIRFLOW SUBCOMPONENTS:
|
205
|
-
|
206
|
-
The Apache Airflow project contains subcomponents with separate copyright
|
207
|
-
notices and license terms. Your use of the source code for the these
|
208
|
-
subcomponents is subject to the terms and conditions of the following
|
209
|
-
licenses.
|
210
|
-
|
211
|
-
|
212
|
-
========================================================================
|
213
|
-
Third party Apache 2.0 licenses
|
214
|
-
========================================================================
|
215
|
-
|
216
|
-
The following components are provided under the Apache 2.0 License.
|
217
|
-
See project link for details. The text of each license is also included
|
218
|
-
at 3rd-party-licenses/LICENSE-[project].txt.
|
219
|
-
|
220
|
-
(ALv2 License) hue v4.3.0 (https://github.com/cloudera/hue/)
|
221
|
-
(ALv2 License) jqclock v2.3.0 (https://github.com/JohnRDOrazio/jQuery-Clock-Plugin)
|
222
|
-
(ALv2 License) bootstrap3-typeahead v4.0.2 (https://github.com/bassjobsen/Bootstrap-3-Typeahead)
|
223
|
-
(ALv2 License) connexion v2.7.0 (https://github.com/zalando/connexion)
|
224
|
-
|
225
|
-
========================================================================
|
226
|
-
MIT licenses
|
227
|
-
========================================================================
|
228
|
-
|
229
|
-
The following components are provided under the MIT License. See project link for details.
|
230
|
-
The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt.
|
231
|
-
|
232
|
-
(MIT License) jquery v3.5.1 (https://jquery.org/license/)
|
233
|
-
(MIT License) dagre-d3 v0.6.4 (https://github.com/cpettitt/dagre-d3)
|
234
|
-
(MIT License) bootstrap v3.4.1 (https://github.com/twbs/bootstrap/)
|
235
|
-
(MIT License) d3-tip v0.9.1 (https://github.com/Caged/d3-tip)
|
236
|
-
(MIT License) dataTables v1.10.25 (https://datatables.net)
|
237
|
-
(MIT License) normalize.css v3.0.2 (http://necolas.github.io/normalize.css/)
|
238
|
-
(MIT License) ElasticMock v1.3.2 (https://github.com/vrcmarcos/elasticmock)
|
239
|
-
(MIT License) MomentJS v2.24.0 (http://momentjs.com/)
|
240
|
-
(MIT License) eonasdan-bootstrap-datetimepicker v4.17.49 (https://github.com/eonasdan/bootstrap-datetimepicker/)
|
241
|
-
|
242
|
-
========================================================================
|
243
|
-
BSD 3-Clause licenses
|
244
|
-
========================================================================
|
245
|
-
The following components are provided under the BSD 3-Clause license. See project links for details.
|
246
|
-
The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt.
|
247
|
-
|
248
|
-
(BSD 3 License) d3 v5.16.0 (https://d3js.org)
|
249
|
-
(BSD 3 License) d3-shape v2.1.0 (https://github.com/d3/d3-shape)
|
250
|
-
(BSD 3 License) cgroupspy 0.2.1 (https://github.com/cloudsigma/cgroupspy)
|
251
|
-
|
252
|
-
========================================================================
|
253
|
-
See 3rd-party-licenses/LICENSES-ui.txt for packages used in `/airflow/www`
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
29
29
|
|
30
30
|
__all__ = ["__version__"]
|
31
31
|
|
32
|
-
__version__ = "4.0.
|
32
|
+
__version__ = "4.0.1"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
35
|
"2.9.0"
|
@@ -15,8 +15,7 @@
|
|
15
15
|
# specific language governing permissions and limitations
|
16
16
|
# under the License.
|
17
17
|
|
18
|
-
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
19
|
-
# OVERWRITTEN WHEN PREPARING PACKAGES.
|
18
|
+
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
20
19
|
#
|
21
20
|
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
22
21
|
# `get_provider_info_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
@@ -28,8 +27,9 @@ def get_provider_info():
|
|
28
27
|
"name": "Yandex",
|
29
28
|
"description": "This package is for Yandex, including:\n\n - `Yandex.Cloud <https://cloud.yandex.com/>`__\n",
|
30
29
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
30
|
+
"source-date-epoch": 1739964637,
|
32
31
|
"versions": [
|
32
|
+
"4.0.1",
|
33
33
|
"4.0.0",
|
34
34
|
"3.12.0",
|
35
35
|
"3.11.2",
|
@@ -56,26 +56,25 @@ def get_provider_info():
|
|
56
56
|
"1.0.1",
|
57
57
|
"1.0.0",
|
58
58
|
],
|
59
|
-
"dependencies": ["apache-airflow>=2.9.0", "yandexcloud>=0.308.0", "yandex-query-client>=0.1.4"],
|
60
59
|
"integrations": [
|
61
60
|
{
|
62
61
|
"integration-name": "Yandex.Cloud",
|
63
62
|
"external-doc-url": "https://cloud.yandex.com/",
|
64
|
-
"logo": "/integration-logos/
|
63
|
+
"logo": "/docs/integration-logos/Yandex-Cloud.png",
|
65
64
|
"tags": ["service"],
|
66
65
|
},
|
67
66
|
{
|
68
67
|
"integration-name": "Yandex.Cloud Dataproc",
|
69
68
|
"external-doc-url": "https://cloud.yandex.com/dataproc",
|
70
69
|
"how-to-guide": ["/docs/apache-airflow-providers-yandex/operators/dataproc.rst"],
|
71
|
-
"logo": "/integration-logos/
|
70
|
+
"logo": "/docs/integration-logos/Yandex-Cloud.png",
|
72
71
|
"tags": ["service"],
|
73
72
|
},
|
74
73
|
{
|
75
74
|
"integration-name": "Yandex.Cloud YQ",
|
76
75
|
"external-doc-url": "https://cloud.yandex.com/en/services/query",
|
77
76
|
"how-to-guide": ["/docs/apache-airflow-providers-yandex/operators/yq.rst"],
|
78
|
-
"logo": "/integration-logos/
|
77
|
+
"logo": "/docs/integration-logos/Yandex-Cloud.png",
|
79
78
|
"tags": ["service"],
|
80
79
|
},
|
81
80
|
],
|
@@ -119,4 +118,5 @@ def get_provider_info():
|
|
119
118
|
},
|
120
119
|
}
|
121
120
|
},
|
121
|
+
"dependencies": ["apache-airflow>=2.9.0", "yandexcloud>=0.308.0", "yandex-query-client>=0.1.4"],
|
122
122
|
}
|
@@ -23,7 +23,12 @@ from airflow.models import BaseOperatorLink, XCom
|
|
23
23
|
if TYPE_CHECKING:
|
24
24
|
from airflow.models import BaseOperator
|
25
25
|
from airflow.models.taskinstancekey import TaskInstanceKey
|
26
|
-
|
26
|
+
|
27
|
+
try:
|
28
|
+
from airflow.sdk.definitions.context import Context
|
29
|
+
except ImportError:
|
30
|
+
# TODO: Remove once provider drops support for Airflow 2
|
31
|
+
from airflow.utils.context import Context
|
27
32
|
|
28
33
|
XCOM_WEBLINK_KEY = "web_link"
|
29
34
|
|
@@ -24,7 +24,11 @@ from airflow.models import BaseOperator
|
|
24
24
|
from airflow.providers.yandex.hooks.dataproc import DataprocHook
|
25
25
|
|
26
26
|
if TYPE_CHECKING:
|
27
|
-
|
27
|
+
try:
|
28
|
+
from airflow.sdk.definitions.context import Context
|
29
|
+
except ImportError:
|
30
|
+
# TODO: Remove once provider drops support for Airflow 2
|
31
|
+
from airflow.utils.context import Context
|
28
32
|
|
29
33
|
|
30
34
|
@dataclass
|
@@ -25,7 +25,11 @@ from airflow.providers.yandex.hooks.yq import YQHook
|
|
25
25
|
from airflow.providers.yandex.links.yq import YQLink
|
26
26
|
|
27
27
|
if TYPE_CHECKING:
|
28
|
-
|
28
|
+
try:
|
29
|
+
from airflow.sdk.definitions.context import Context
|
30
|
+
except ImportError:
|
31
|
+
# TODO: Remove once provider drops support for Airflow 2
|
32
|
+
from airflow.utils.context import Context
|
29
33
|
|
30
34
|
|
31
35
|
class YQExecuteQueryOperator(BaseOperator):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -21,14 +21,14 @@ from __future__ import annotations
|
|
21
21
|
from functools import cached_property
|
22
22
|
from typing import Any
|
23
23
|
|
24
|
+
import yandexcloud
|
25
|
+
|
24
26
|
import yandex.cloud.lockbox.v1.payload_pb2 as payload_pb
|
25
27
|
import yandex.cloud.lockbox.v1.payload_service_pb2 as payload_service_pb
|
26
28
|
import yandex.cloud.lockbox.v1.payload_service_pb2_grpc as payload_service_pb_grpc
|
27
29
|
import yandex.cloud.lockbox.v1.secret_pb2 as secret_pb
|
28
30
|
import yandex.cloud.lockbox.v1.secret_service_pb2 as secret_service_pb
|
29
31
|
import yandex.cloud.lockbox.v1.secret_service_pb2_grpc as secret_service_pb_grpc
|
30
|
-
import yandexcloud
|
31
|
-
|
32
32
|
from airflow.models import Connection
|
33
33
|
from airflow.providers.yandex.utils.credentials import get_credentials
|
34
34
|
from airflow.providers.yandex.utils.defaults import default_conn_name
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|