apache-airflow-providers-dbt-cloud 3.10.0rc1__py3-none-any.whl → 3.10.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.
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 +2 -1
- airflow/providers/dbt/cloud/sensors/dbt.py +1 -10
- {apache_airflow_providers_dbt_cloud-3.10.0rc1.dist-info → apache_airflow_providers_dbt_cloud-3.10.1.dist-info}/METADATA +8 -8
- {apache_airflow_providers_dbt_cloud-3.10.0rc1.dist-info → apache_airflow_providers_dbt_cloud-3.10.1.dist-info}/RECORD +7 -7
- {apache_airflow_providers_dbt_cloud-3.10.0rc1.dist-info → apache_airflow_providers_dbt_cloud-3.10.1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_dbt_cloud-3.10.0rc1.dist-info → apache_airflow_providers_dbt_cloud-3.10.1.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__ = "3.10.
|
|
32
|
+
__version__ = "3.10.1"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.8.0"
|
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
|
28
28
|
"name": "dbt Cloud",
|
|
29
29
|
"description": "`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__\n",
|
|
30
30
|
"state": "ready",
|
|
31
|
-
"source-date-epoch":
|
|
31
|
+
"source-date-epoch": 1726860654,
|
|
32
32
|
"versions": [
|
|
33
|
+
"3.10.1",
|
|
33
34
|
"3.10.0",
|
|
34
35
|
"3.9.0",
|
|
35
36
|
"3.8.1",
|
|
@@ -24,7 +24,7 @@ from typing import TYPE_CHECKING, Any
|
|
|
24
24
|
from deprecated import deprecated
|
|
25
25
|
|
|
26
26
|
from airflow.configuration import conf
|
|
27
|
-
from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
|
|
27
|
+
from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
|
|
28
28
|
from airflow.providers.dbt.cloud.hooks.dbt import DbtCloudHook, DbtCloudJobRunException, DbtCloudJobRunStatus
|
|
29
29
|
from airflow.providers.dbt.cloud.triggers.dbt import DbtCloudRunJobTrigger
|
|
30
30
|
from airflow.providers.dbt.cloud.utils.openlineage import generate_openlineage_events_from_dbt_cloud_run
|
|
@@ -93,17 +93,11 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
|
|
|
93
93
|
job_run_status = self.hook.get_job_run_status(run_id=self.run_id, account_id=self.account_id)
|
|
94
94
|
|
|
95
95
|
if job_run_status == DbtCloudJobRunStatus.ERROR.value:
|
|
96
|
-
# TODO: remove this if block when min_airflow_version is set to higher than 2.7.1
|
|
97
96
|
message = f"Job run {self.run_id} has failed."
|
|
98
|
-
if self.soft_fail:
|
|
99
|
-
raise AirflowSkipException(message)
|
|
100
97
|
raise DbtCloudJobRunException(message)
|
|
101
98
|
|
|
102
99
|
if job_run_status == DbtCloudJobRunStatus.CANCELLED.value:
|
|
103
|
-
# TODO: remove this if block when min_airflow_version is set to higher than 2.7.1
|
|
104
100
|
message = f"Job run {self.run_id} has been cancelled."
|
|
105
|
-
if self.soft_fail:
|
|
106
|
-
raise AirflowSkipException(message)
|
|
107
101
|
raise DbtCloudJobRunException(message)
|
|
108
102
|
|
|
109
103
|
return job_run_status == DbtCloudJobRunStatus.SUCCESS.value
|
|
@@ -141,9 +135,6 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
|
|
|
141
135
|
execution was successful.
|
|
142
136
|
"""
|
|
143
137
|
if event["status"] in ["error", "cancelled"]:
|
|
144
|
-
message = f"Error in dbt: {event['message']}"
|
|
145
|
-
if self.soft_fail:
|
|
146
|
-
raise AirflowSkipException(message)
|
|
147
138
|
raise AirflowException()
|
|
148
139
|
self.log.info(event["message"])
|
|
149
140
|
return int(event["run_id"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-dbt-cloud
|
|
3
|
-
Version: 3.10.
|
|
3
|
+
Version: 3.10.1
|
|
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>
|
|
@@ -23,13 +23,13 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
23
23
|
Classifier: Topic :: System :: Monitoring
|
|
24
24
|
Requires-Dist: aiohttp>=3.9.2
|
|
25
25
|
Requires-Dist: apache-airflow-providers-http
|
|
26
|
-
Requires-Dist: apache-airflow>=2.8.
|
|
26
|
+
Requires-Dist: apache-airflow>=2.8.0
|
|
27
27
|
Requires-Dist: asgiref
|
|
28
28
|
Requires-Dist: apache-airflow-providers-http ; extra == "http"
|
|
29
|
-
Requires-Dist: apache-airflow-providers-openlineage>=1.7.
|
|
29
|
+
Requires-Dist: apache-airflow-providers-openlineage>=1.7.0 ; extra == "openlineage"
|
|
30
30
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
31
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.
|
|
32
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.
|
|
31
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.1/changelog.html
|
|
32
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.1
|
|
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: Twitter, https://twitter.com/ApacheAirflow
|
|
@@ -81,7 +81,7 @@ Provides-Extra: openlineage
|
|
|
81
81
|
|
|
82
82
|
Package ``apache-airflow-providers-dbt-cloud``
|
|
83
83
|
|
|
84
|
-
Release: ``3.10.
|
|
84
|
+
Release: ``3.10.1``
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__
|
|
@@ -94,7 +94,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
|
|
|
94
94
|
are in ``airflow.providers.dbt.cloud`` python package.
|
|
95
95
|
|
|
96
96
|
You can find package information and changelog for the provider
|
|
97
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.
|
|
97
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.1/>`_.
|
|
98
98
|
|
|
99
99
|
Installation
|
|
100
100
|
------------
|
|
@@ -138,4 +138,4 @@ Dependent package
|
|
|
138
138
|
============================================================================================================== ===============
|
|
139
139
|
|
|
140
140
|
The changelog for the provider package can be found in the
|
|
141
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.
|
|
141
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.10.1/changelog.html>`_.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
airflow/providers/dbt/cloud/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
|
|
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=NKMh_klGleJjupdZpyHxtvy1JuaC9wX9uysgBZkluVk,1497
|
|
3
|
+
airflow/providers/dbt/cloud/get_provider_info.py,sha256=Lxf-CouKBpfrIU_oDEwpZKsvqO1SP-XuKbZ9uzY7WTg,3683
|
|
4
4
|
airflow/providers/dbt/cloud/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
5
5
|
airflow/providers/dbt/cloud/hooks/dbt.py,sha256=EX_0CP-jL1F-j0syrpcM8vvIdXELGGu3LyGj3yOxpx8,28427
|
|
6
6
|
airflow/providers/dbt/cloud/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
7
7
|
airflow/providers/dbt/cloud/operators/dbt.py,sha256=jgdk-Ve8YKYy5Twz9lq74iQpElEI_mS1IwASmCqPDQY,16159
|
|
8
8
|
airflow/providers/dbt/cloud/sensors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
9
|
-
airflow/providers/dbt/cloud/sensors/dbt.py,sha256=
|
|
9
|
+
airflow/providers/dbt/cloud/sensors/dbt.py,sha256=23kRgLxST-WJKpF1NGk_CRtQGn91kNw7Z_2ZTjzcQh0,6357
|
|
10
10
|
airflow/providers/dbt/cloud/triggers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
11
11
|
airflow/providers/dbt/cloud/triggers/dbt.py,sha256=30fntKeUi1bUJtv50Rv09KtJNsN8gBtjLPsf3Xoccks,4680
|
|
12
12
|
airflow/providers/dbt/cloud/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
13
13
|
airflow/providers/dbt/cloud/utils/openlineage.py,sha256=tLHfM6L9cOy4ZvpnJFjJAI3qxAztn073GbLHsXpjvFQ,6265
|
|
14
|
-
apache_airflow_providers_dbt_cloud-3.10.
|
|
15
|
-
apache_airflow_providers_dbt_cloud-3.10.
|
|
16
|
-
apache_airflow_providers_dbt_cloud-3.10.
|
|
17
|
-
apache_airflow_providers_dbt_cloud-3.10.
|
|
14
|
+
apache_airflow_providers_dbt_cloud-3.10.1.dist-info/entry_points.txt,sha256=c18L1WEEK18WQeEGrm9kMVqutiYJHiWGH5jU1JqnToE,105
|
|
15
|
+
apache_airflow_providers_dbt_cloud-3.10.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
16
|
+
apache_airflow_providers_dbt_cloud-3.10.1.dist-info/METADATA,sha256=V3FVrrC1r-UTYKKYh_fGfLEZdF2mWECMpVxfR8RJpM0,6356
|
|
17
|
+
apache_airflow_providers_dbt_cloud-3.10.1.dist-info/RECORD,,
|
|
File without changes
|