apache-airflow-providers-dbt-cloud 4.3.1rc1__py3-none-any.whl → 4.3.2__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.
Potentially problematic release.
This version of apache-airflow-providers-dbt-cloud might be problematic. Click here for more details.
- airflow/providers/dbt/cloud/__init__.py +1 -1
- airflow/providers/dbt/cloud/get_provider_info.py +4 -5
- airflow/providers/dbt/cloud/hooks/dbt.py +2 -3
- airflow/providers/dbt/cloud/utils/openlineage.py +3 -8
- {apache_airflow_providers_dbt_cloud-4.3.1rc1.dist-info → apache_airflow_providers_dbt_cloud-4.3.2.dist-info}/METADATA +17 -17
- {apache_airflow_providers_dbt_cloud-4.3.1rc1.dist-info → apache_airflow_providers_dbt_cloud-4.3.2.dist-info}/RECORD +8 -8
- {apache_airflow_providers_dbt_cloud-4.3.1rc1.dist-info → apache_airflow_providers_dbt_cloud-4.3.2.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_dbt_cloud-4.3.1rc1.dist-info → apache_airflow_providers_dbt_cloud-4.3.2.dist-info}/entry_points.txt +0 -0
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.3.
|
|
32
|
+
__version__ = "4.3.2"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.9.0"
|
|
@@ -27,8 +27,9 @@ def get_provider_info():
|
|
|
27
27
|
"name": "dbt Cloud",
|
|
28
28
|
"description": "`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__\n",
|
|
29
29
|
"state": "ready",
|
|
30
|
-
"source-date-epoch":
|
|
30
|
+
"source-date-epoch": 1743836022,
|
|
31
31
|
"versions": [
|
|
32
|
+
"4.3.2",
|
|
32
33
|
"4.3.1",
|
|
33
34
|
"4.2.1",
|
|
34
35
|
"4.2.0",
|
|
@@ -96,13 +97,11 @@ def get_provider_info():
|
|
|
96
97
|
"extra-links": ["airflow.providers.dbt.cloud.operators.dbt.DbtCloudRunJobOperatorLink"],
|
|
97
98
|
"dependencies": [
|
|
98
99
|
"apache-airflow>=2.9.0",
|
|
100
|
+
"apache-airflow-providers-common-compat>=1.6.0",
|
|
99
101
|
"apache-airflow-providers-http",
|
|
100
102
|
"asgiref>=2.3.0",
|
|
101
103
|
"aiohttp>=3.9.2",
|
|
102
104
|
],
|
|
103
|
-
"optional-dependencies": {
|
|
104
|
-
"openlineage": ["apache-airflow-providers-openlineage>=1.7.0"],
|
|
105
|
-
"common.compat": ["apache-airflow-providers-common-compat"],
|
|
106
|
-
},
|
|
105
|
+
"optional-dependencies": {"openlineage": ["apache-airflow-providers-openlineage>=2.0.0"]},
|
|
107
106
|
"devel-dependencies": [],
|
|
108
107
|
}
|
|
@@ -166,7 +166,7 @@ def provide_account_id(func: T) -> T:
|
|
|
166
166
|
|
|
167
167
|
return await func(*bound_args.args, **bound_args.kwargs)
|
|
168
168
|
|
|
169
|
-
return cast(T, wrapper)
|
|
169
|
+
return cast("T", wrapper)
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
class DbtCloudHook(HttpHook):
|
|
@@ -569,8 +569,7 @@ class DbtCloudHook(HttpHook):
|
|
|
569
569
|
|
|
570
570
|
if cause is not None and len(cause) > DBT_CAUSE_MAX_LENGTH:
|
|
571
571
|
warnings.warn(
|
|
572
|
-
f"Cause `{cause}` exceeds limit of {DBT_CAUSE_MAX_LENGTH}"
|
|
573
|
-
f" characters and will be truncated.",
|
|
572
|
+
f"Cause `{cause}` exceeds limit of {DBT_CAUSE_MAX_LENGTH} characters and will be truncated.",
|
|
574
573
|
UserWarning,
|
|
575
574
|
stacklevel=2,
|
|
576
575
|
)
|
|
@@ -21,6 +21,7 @@ import logging
|
|
|
21
21
|
import re
|
|
22
22
|
from typing import TYPE_CHECKING
|
|
23
23
|
|
|
24
|
+
from airflow.providers.common.compat.openlineage.check import require_openlineage_version
|
|
24
25
|
from airflow.providers.dbt.cloud.version_compat import AIRFLOW_V_2_10_PLUS, AIRFLOW_V_3_0_PLUS
|
|
25
26
|
|
|
26
27
|
if TYPE_CHECKING:
|
|
@@ -54,6 +55,7 @@ def _get_try_number(val):
|
|
|
54
55
|
return val.try_number - 1
|
|
55
56
|
|
|
56
57
|
|
|
58
|
+
@require_openlineage_version(provider_min_version="2.0.0")
|
|
57
59
|
def generate_openlineage_events_from_dbt_cloud_run(
|
|
58
60
|
operator: DbtCloudRunJobOperator | DbtCloudJobRunSensor, task_instance: TaskInstance
|
|
59
61
|
) -> OperatorLineage:
|
|
@@ -73,14 +75,7 @@ def generate_openlineage_events_from_dbt_cloud_run(
|
|
|
73
75
|
"""
|
|
74
76
|
from openlineage.common.provider.dbt import DbtCloudArtifactProcessor, ParentRunMetadata
|
|
75
77
|
|
|
76
|
-
|
|
77
|
-
from airflow.providers.openlineage.conf import namespace
|
|
78
|
-
except ModuleNotFoundError as e:
|
|
79
|
-
from airflow.exceptions import AirflowOptionalProviderFeatureException
|
|
80
|
-
|
|
81
|
-
msg = "Please install `apache-airflow-providers-openlineage>=1.7.0`"
|
|
82
|
-
raise AirflowOptionalProviderFeatureException(e, msg)
|
|
83
|
-
|
|
78
|
+
from airflow.providers.openlineage.conf import namespace
|
|
84
79
|
from airflow.providers.openlineage.extractors import OperatorLineage
|
|
85
80
|
from airflow.providers.openlineage.plugins.adapter import (
|
|
86
81
|
_PRODUCER,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-dbt-cloud
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.2
|
|
4
4
|
Summary: Provider package apache-airflow-providers-dbt-cloud for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,dbt.cloud,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -20,20 +20,19 @@ 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.
|
|
23
|
+
Requires-Dist: apache-airflow>=2.9.0
|
|
24
|
+
Requires-Dist: apache-airflow-providers-common-compat>=1.6.0
|
|
24
25
|
Requires-Dist: apache-airflow-providers-http
|
|
25
26
|
Requires-Dist: asgiref>=2.3.0
|
|
26
27
|
Requires-Dist: aiohttp>=3.9.2
|
|
27
|
-
Requires-Dist: apache-airflow-providers-
|
|
28
|
-
Requires-Dist: apache-airflow-providers-openlineage>=1.7.0 ; extra == "openlineage"
|
|
28
|
+
Requires-Dist: apache-airflow-providers-openlineage>=2.0.0 ; extra == "openlineage"
|
|
29
29
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.
|
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.
|
|
30
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.2/changelog.html
|
|
31
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.2
|
|
32
32
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
33
33
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
34
34
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
35
35
|
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
36
|
-
Provides-Extra: common-compat
|
|
37
36
|
Provides-Extra: openlineage
|
|
38
37
|
|
|
39
38
|
|
|
@@ -61,7 +60,7 @@ Provides-Extra: openlineage
|
|
|
61
60
|
|
|
62
61
|
Package ``apache-airflow-providers-dbt-cloud``
|
|
63
62
|
|
|
64
|
-
Release: ``4.3.
|
|
63
|
+
Release: ``4.3.2``
|
|
65
64
|
|
|
66
65
|
|
|
67
66
|
`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__
|
|
@@ -74,7 +73,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
|
|
|
74
73
|
are in ``airflow.providers.dbt.cloud`` python package.
|
|
75
74
|
|
|
76
75
|
You can find package information and changelog for the provider
|
|
77
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.
|
|
76
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.2/>`_.
|
|
78
77
|
|
|
79
78
|
Installation
|
|
80
79
|
------------
|
|
@@ -88,14 +87,15 @@ The package supports the following python versions: 3.9,3.10,3.11,3.12
|
|
|
88
87
|
Requirements
|
|
89
88
|
------------
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
PIP package
|
|
93
|
-
|
|
94
|
-
``apache-airflow``
|
|
90
|
+
========================================== ==================
|
|
91
|
+
PIP package Version required
|
|
92
|
+
========================================== ==================
|
|
93
|
+
``apache-airflow`` ``>=2.9.0``
|
|
94
|
+
``apache-airflow-providers-common-compat`` ``>=1.6.0``
|
|
95
95
|
``apache-airflow-providers-http``
|
|
96
|
-
``asgiref``
|
|
97
|
-
``aiohttp``
|
|
98
|
-
|
|
96
|
+
``asgiref`` ``>=2.3.0``
|
|
97
|
+
``aiohttp`` ``>=3.9.2``
|
|
98
|
+
========================================== ==================
|
|
99
99
|
|
|
100
100
|
Cross provider package dependencies
|
|
101
101
|
-----------------------------------
|
|
@@ -119,5 +119,5 @@ Dependent package
|
|
|
119
119
|
================================================================================================================== =================
|
|
120
120
|
|
|
121
121
|
The changelog for the provider package can be found in the
|
|
122
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.
|
|
122
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.3.2/changelog.html>`_.
|
|
123
123
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
airflow/providers/dbt/cloud/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
-
airflow/providers/dbt/cloud/__init__.py,sha256=
|
|
3
|
-
airflow/providers/dbt/cloud/get_provider_info.py,sha256=
|
|
2
|
+
airflow/providers/dbt/cloud/__init__.py,sha256=YOSN3fpc2l1rXJS8vWMF6ucArBog6QLvijk1L2oRQ-U,1496
|
|
3
|
+
airflow/providers/dbt/cloud/get_provider_info.py,sha256=H7oL6RmJmhA6RieZ730WUOrtxQrn4ULBB6PPbaoaZZQ,3762
|
|
4
4
|
airflow/providers/dbt/cloud/version_compat.py,sha256=aHg90_DtgoSnQvILFICexMyNlHlALBdaeWqkX3dFDug,1605
|
|
5
5
|
airflow/providers/dbt/cloud/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
6
|
-
airflow/providers/dbt/cloud/hooks/dbt.py,sha256=
|
|
6
|
+
airflow/providers/dbt/cloud/hooks/dbt.py,sha256=jGE_QOeYhJvl11xV9zQ3Jq6xApOQrKovbZS9smCT9bI,34538
|
|
7
7
|
airflow/providers/dbt/cloud/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
8
8
|
airflow/providers/dbt/cloud/operators/dbt.py,sha256=dwagI9sMAXmzNRKRUsr7VvKaHJFdKNMj4iaz-Av8W3A,18043
|
|
9
9
|
airflow/providers/dbt/cloud/sensors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
@@ -11,8 +11,8 @@ airflow/providers/dbt/cloud/sensors/dbt.py,sha256=OGf-VNKcCNCrImrdE8PudmtDak_MKJ
|
|
|
11
11
|
airflow/providers/dbt/cloud/triggers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
12
12
|
airflow/providers/dbt/cloud/triggers/dbt.py,sha256=Oabdc7FcNhCQxkjDC5SqAiYEw4hSZ9mQGZgSt36a1E0,4707
|
|
13
13
|
airflow/providers/dbt/cloud/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
14
|
-
airflow/providers/dbt/cloud/utils/openlineage.py,sha256=
|
|
15
|
-
apache_airflow_providers_dbt_cloud-4.3.
|
|
16
|
-
apache_airflow_providers_dbt_cloud-4.3.
|
|
17
|
-
apache_airflow_providers_dbt_cloud-4.3.
|
|
18
|
-
apache_airflow_providers_dbt_cloud-4.3.
|
|
14
|
+
airflow/providers/dbt/cloud/utils/openlineage.py,sha256=DZdvi1i4dDhWc9zqj-vf7E4gtDuoS68w3EwIPOxwnuw,7647
|
|
15
|
+
apache_airflow_providers_dbt_cloud-4.3.2.dist-info/entry_points.txt,sha256=c18L1WEEK18WQeEGrm9kMVqutiYJHiWGH5jU1JqnToE,105
|
|
16
|
+
apache_airflow_providers_dbt_cloud-4.3.2.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
|
|
17
|
+
apache_airflow_providers_dbt_cloud-4.3.2.dist-info/METADATA,sha256=eEOD_0MbD8HN98oWKqW26luLQxUwcQsR2FHDweRue5U,5758
|
|
18
|
+
apache_airflow_providers_dbt_cloud-4.3.2.dist-info/RECORD,,
|
|
File without changes
|