apache-airflow-providers-dbt-cloud 4.4.4rc1__py3-none-any.whl → 4.6.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.
- airflow/providers/dbt/cloud/__init__.py +3 -3
- airflow/providers/dbt/cloud/sensors/dbt.py +4 -2
- {apache_airflow_providers_dbt_cloud-4.4.4rc1.dist-info → apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info}/METADATA +11 -9
- {apache_airflow_providers_dbt_cloud-4.4.4rc1.dist-info → apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info}/RECORD +8 -7
- apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/licenses/NOTICE +5 -0
- {apache_airflow_providers_dbt_cloud-4.4.4rc1.dist-info → apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_dbt_cloud-4.4.4rc1.dist-info → apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info}/entry_points.txt +0 -0
- {airflow/providers/dbt/cloud → apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/licenses}/LICENSE +0 -0
|
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.
|
|
32
|
+
__version__ = "4.6.0"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
|
-
"2.
|
|
35
|
+
"2.11.0"
|
|
36
36
|
):
|
|
37
37
|
raise RuntimeError(
|
|
38
|
-
f"The package `apache-airflow-providers-dbt-cloud:{__version__}` needs Apache Airflow 2.
|
|
38
|
+
f"The package `apache-airflow-providers-dbt-cloud:{__version__}` needs Apache Airflow 2.11.0+"
|
|
39
39
|
)
|
|
@@ -55,6 +55,7 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
|
|
|
55
55
|
run_id: int,
|
|
56
56
|
account_id: int | None = None,
|
|
57
57
|
deferrable: bool = conf.getboolean("operators", "default_deferrable", fallback=False),
|
|
58
|
+
hook_params: dict[str, Any] | None = None,
|
|
58
59
|
**kwargs,
|
|
59
60
|
) -> None:
|
|
60
61
|
if deferrable:
|
|
@@ -68,13 +69,13 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
|
|
|
68
69
|
self.dbt_cloud_conn_id = dbt_cloud_conn_id
|
|
69
70
|
self.run_id = run_id
|
|
70
71
|
self.account_id = account_id
|
|
71
|
-
|
|
72
|
+
self.hook_params = hook_params or {}
|
|
72
73
|
self.deferrable = deferrable
|
|
73
74
|
|
|
74
75
|
@cached_property
|
|
75
76
|
def hook(self):
|
|
76
77
|
"""Returns DBT Cloud hook."""
|
|
77
|
-
return DbtCloudHook(self.dbt_cloud_conn_id)
|
|
78
|
+
return DbtCloudHook(self.dbt_cloud_conn_id, **self.hook_params)
|
|
78
79
|
|
|
79
80
|
def poke(self, context: Context) -> bool:
|
|
80
81
|
job_run_status = self.hook.get_job_run_status(run_id=self.run_id, account_id=self.account_id)
|
|
@@ -110,6 +111,7 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
|
|
|
110
111
|
account_id=self.account_id,
|
|
111
112
|
poll_interval=self.poke_interval,
|
|
112
113
|
end_time=end_time,
|
|
114
|
+
hook_params=self.hook_params,
|
|
113
115
|
),
|
|
114
116
|
method_name="execute_complete",
|
|
115
117
|
)
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-dbt-cloud
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.6.0rc1
|
|
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>
|
|
7
7
|
Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
8
8
|
Requires-Python: >=3.10
|
|
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,13 +15,14 @@ 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: Programming Language :: Python :: 3.13
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: NOTICE
|
|
25
|
+
Requires-Dist: apache-airflow>=2.11.0rc1
|
|
24
26
|
Requires-Dist: apache-airflow-providers-common-compat>=1.8.0rc1
|
|
25
27
|
Requires-Dist: apache-airflow-providers-http
|
|
26
28
|
Requires-Dist: asgiref>=2.3.0
|
|
@@ -28,8 +30,8 @@ Requires-Dist: aiohttp>=3.9.2
|
|
|
28
30
|
Requires-Dist: tenacity>=8.3.0
|
|
29
31
|
Requires-Dist: apache-airflow-providers-openlineage>=2.3.0rc1 ; extra == "openlineage"
|
|
30
32
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
31
|
-
Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-dbt-cloud/4.
|
|
32
|
-
Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-dbt-cloud/4.
|
|
33
|
+
Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-dbt-cloud/4.6.0/changelog.html
|
|
34
|
+
Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-dbt-cloud/4.6.0
|
|
33
35
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
34
36
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
35
37
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -61,7 +63,7 @@ Provides-Extra: openlineage
|
|
|
61
63
|
|
|
62
64
|
Package ``apache-airflow-providers-dbt-cloud``
|
|
63
65
|
|
|
64
|
-
Release: ``4.
|
|
66
|
+
Release: ``4.6.0``
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__
|
|
@@ -74,7 +76,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
|
|
|
74
76
|
are in ``airflow.providers.dbt.cloud`` python package.
|
|
75
77
|
|
|
76
78
|
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.
|
|
79
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.6.0/>`_.
|
|
78
80
|
|
|
79
81
|
Installation
|
|
80
82
|
------------
|
|
@@ -91,7 +93,7 @@ Requirements
|
|
|
91
93
|
========================================== ==================
|
|
92
94
|
PIP package Version required
|
|
93
95
|
========================================== ==================
|
|
94
|
-
``apache-airflow`` ``>=2.
|
|
96
|
+
``apache-airflow`` ``>=2.11.0``
|
|
95
97
|
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
96
98
|
``apache-airflow-providers-http``
|
|
97
99
|
``asgiref`` ``>=2.3.0``
|
|
@@ -130,5 +132,5 @@ Extra Dependencies
|
|
|
130
132
|
=============== ===============================================
|
|
131
133
|
|
|
132
134
|
The changelog for the provider package can be found in the
|
|
133
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.
|
|
135
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.6.0/changelog.html>`_.
|
|
134
136
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
airflow/providers/dbt/cloud/
|
|
2
|
-
airflow/providers/dbt/cloud/__init__.py,sha256=W4cZ3hUYJLy1BNH2L-IsRndS3FN2pW2xA5z-n-BRQmY,1498
|
|
1
|
+
airflow/providers/dbt/cloud/__init__.py,sha256=CtqFFf-5EoPitgyXqi0tvZiofVSCeZ1qIdp-JYuC_3I,1498
|
|
3
2
|
airflow/providers/dbt/cloud/get_provider_info.py,sha256=ufODYanp90_NPW1UftzGIwwG65Olb5l5PfSp0Mo1SOs,2507
|
|
4
3
|
airflow/providers/dbt/cloud/version_compat.py,sha256=RQbdCueLOaFZWekpQmF0BoAoJInW8EoyvJ3Ah-HbrPo,1577
|
|
5
4
|
airflow/providers/dbt/cloud/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
@@ -7,12 +6,14 @@ airflow/providers/dbt/cloud/hooks/dbt.py,sha256=uIzeZ5RlpubgNWNiQCcb57R2uTeTqW3R
|
|
|
7
6
|
airflow/providers/dbt/cloud/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
8
7
|
airflow/providers/dbt/cloud/operators/dbt.py,sha256=YAdnm_FT6cq9iprIrSmpAzgd_O240VJqNs51zExSak4,18389
|
|
9
8
|
airflow/providers/dbt/cloud/sensors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
10
|
-
airflow/providers/dbt/cloud/sensors/dbt.py,sha256=
|
|
9
|
+
airflow/providers/dbt/cloud/sensors/dbt.py,sha256=jHkZKNmMF97pYmSMeBq0XWN8g43ctnUOLvHPqrqUn8c,5341
|
|
11
10
|
airflow/providers/dbt/cloud/triggers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
12
11
|
airflow/providers/dbt/cloud/triggers/dbt.py,sha256=p6-LU2GPpEZ2DtL4ZTkG7OIVAFCblKYbjV9z49ooltI,4952
|
|
13
12
|
airflow/providers/dbt/cloud/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
14
13
|
airflow/providers/dbt/cloud/utils/openlineage.py,sha256=uUgIF6GyVMLY2G1g6TP3ai2C22avap5nESDJ5TeJMFw,8042
|
|
15
|
-
apache_airflow_providers_dbt_cloud-4.
|
|
16
|
-
apache_airflow_providers_dbt_cloud-4.
|
|
17
|
-
apache_airflow_providers_dbt_cloud-4.
|
|
18
|
-
apache_airflow_providers_dbt_cloud-4.
|
|
14
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/entry_points.txt,sha256=c18L1WEEK18WQeEGrm9kMVqutiYJHiWGH5jU1JqnToE,105
|
|
15
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/licenses/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
16
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/licenses/NOTICE,sha256=E3-_E02gwwSEFzeeWPKmnIjOoos3hW28CLISV6sYrbQ,168
|
|
17
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
18
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/METADATA,sha256=xxOa_AaLyVztuEq64laSgliODa-2CEYikcBbBNRIZss,6222
|
|
19
|
+
apache_airflow_providers_dbt_cloud-4.6.0rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|