airflow-dbt-python 3.4.0__tar.gz → 3.6.0__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.
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/PKG-INFO +2 -2
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/__version__.py +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/operators/dbt.py +12 -4
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/configs.py +7 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/PKG-INFO +2 -2
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/requires.txt +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/pyproject.toml +5 -3
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/LICENSE +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/README.md +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/dbt.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/gcs.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/git.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/local.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/s3.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/target.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/operators/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/enums.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/env.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/url.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/utils/version.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/SOURCES.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/dependency_links.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/top_level.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airflow-dbt-python
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: A collection of Airflow operators, hooks, and utilities to execute dbt commands
|
|
5
5
|
Author-email: Tomás Farías Santana <tomas@tomasfarias.dev>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -36,7 +36,7 @@ Provides-Extra: gcs
|
|
|
36
36
|
Requires-Dist: apache-airflow-providers-google>=11.0.0; extra == "gcs"
|
|
37
37
|
Provides-Extra: git
|
|
38
38
|
Requires-Dist: apache-airflow-providers-ssh>=3.0.0; extra == "git"
|
|
39
|
-
Requires-Dist: dulwich
|
|
39
|
+
Requires-Dist: dulwich<1.2.0,>=1.0.0; extra == "git"
|
|
40
40
|
Provides-Extra: postgres
|
|
41
41
|
Requires-Dist: dbt-postgres<2.0.0,>=1.8.0; extra == "postgres"
|
|
42
42
|
Provides-Extra: redshift
|
|
@@ -399,7 +399,9 @@ class DbtRunOperator(DbtBaseOperator):
|
|
|
399
399
|
https://docs.getdbt.com/reference/commands/run.
|
|
400
400
|
"""
|
|
401
401
|
|
|
402
|
-
template_fields =
|
|
402
|
+
template_fields = (
|
|
403
|
+
base_template_fields + selection_template_fields + ["full_refresh"]
|
|
404
|
+
)
|
|
403
405
|
|
|
404
406
|
def __init__(
|
|
405
407
|
self,
|
|
@@ -431,7 +433,9 @@ class DbtSeedOperator(DbtBaseOperator):
|
|
|
431
433
|
https://docs.getdbt.com/reference/commands/seed.
|
|
432
434
|
"""
|
|
433
435
|
|
|
434
|
-
template_fields =
|
|
436
|
+
template_fields = (
|
|
437
|
+
base_template_fields + selection_template_fields + ["full_refresh"]
|
|
438
|
+
)
|
|
435
439
|
|
|
436
440
|
def __init__(
|
|
437
441
|
self,
|
|
@@ -500,7 +504,9 @@ class DbtCompileOperator(_GraphRunnableOperator):
|
|
|
500
504
|
https://docs.getdbt.com/reference/commands/compile.
|
|
501
505
|
"""
|
|
502
506
|
|
|
503
|
-
template_fields =
|
|
507
|
+
template_fields = (
|
|
508
|
+
base_template_fields + selection_template_fields + ["full_refresh"]
|
|
509
|
+
)
|
|
504
510
|
|
|
505
511
|
def __init__(
|
|
506
512
|
self,
|
|
@@ -765,7 +771,9 @@ class DbtBuildOperator(DbtBaseOperator):
|
|
|
765
771
|
https://docs.getdbt.com/reference/commands/build.
|
|
766
772
|
"""
|
|
767
773
|
|
|
768
|
-
template_fields =
|
|
774
|
+
template_fields = (
|
|
775
|
+
base_template_fields + selection_template_fields + ["full_refresh"]
|
|
776
|
+
)
|
|
769
777
|
|
|
770
778
|
def __init__(
|
|
771
779
|
self,
|
|
@@ -618,6 +618,13 @@ class TableMutabilityConfig(SelectionConfig):
|
|
|
618
618
|
def __post_init__(self):
|
|
619
619
|
"""Call superclass __post_init__."""
|
|
620
620
|
super().__post_init__()
|
|
621
|
+
if isinstance(self.full_refresh, str):
|
|
622
|
+
if self.full_refresh.lower() not in ("true", "false"):
|
|
623
|
+
raise ValueError(
|
|
624
|
+
f"Invalid value for full_refresh: '{self.full_refresh}'. "
|
|
625
|
+
"Expected 'true' or 'false'."
|
|
626
|
+
)
|
|
627
|
+
self.full_refresh = self.full_refresh.lower() == "true"
|
|
621
628
|
|
|
622
629
|
|
|
623
630
|
@dataclasses.dataclass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airflow-dbt-python
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: A collection of Airflow operators, hooks, and utilities to execute dbt commands
|
|
5
5
|
Author-email: Tomás Farías Santana <tomas@tomasfarias.dev>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -36,7 +36,7 @@ Provides-Extra: gcs
|
|
|
36
36
|
Requires-Dist: apache-airflow-providers-google>=11.0.0; extra == "gcs"
|
|
37
37
|
Provides-Extra: git
|
|
38
38
|
Requires-Dist: apache-airflow-providers-ssh>=3.0.0; extra == "git"
|
|
39
|
-
Requires-Dist: dulwich
|
|
39
|
+
Requires-Dist: dulwich<1.2.0,>=1.0.0; extra == "git"
|
|
40
40
|
Provides-Extra: postgres
|
|
41
41
|
Requires-Dist: dbt-postgres<2.0.0,>=1.8.0; extra == "postgres"
|
|
42
42
|
Provides-Extra: redshift
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "airflow-dbt-python"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.6.0"
|
|
4
4
|
description = "A collection of Airflow operators, hooks, and utilities to execute dbt commands"
|
|
5
5
|
authors = [{ name = "Tomás Farías Santana", email = "tomas@tomasfarias.dev" }]
|
|
6
6
|
license = "MIT"
|
|
@@ -51,7 +51,9 @@ gcs = [
|
|
|
51
51
|
]
|
|
52
52
|
git = [
|
|
53
53
|
"apache-airflow-providers-ssh>=3.0.0",
|
|
54
|
-
|
|
54
|
+
# dulwich>=1.2.0 no longer includes a paramiko vendor module we need for SSH connections.
|
|
55
|
+
# Until we can provide our own, exclude newer versions.
|
|
56
|
+
"dulwich>=1.0.0,<1.2.0",
|
|
55
57
|
]
|
|
56
58
|
postgres = [
|
|
57
59
|
"dbt-postgres>=1.8.0,<2.0.0",
|
|
@@ -78,7 +80,7 @@ dev = [
|
|
|
78
80
|
"coverage[toml]>=7.2",
|
|
79
81
|
# docutils 0.21 causes an error with poetry (https://github.com/python-poetry/poetry/issues/9293)
|
|
80
82
|
"docutils!=0.21",
|
|
81
|
-
"dulwich>=0.
|
|
83
|
+
"dulwich>=1.0.0,<1.2.0",
|
|
82
84
|
"freezegun>=1.1.0",
|
|
83
85
|
"mock-gcp==0.2.0",
|
|
84
86
|
"moto>=4.0.3",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/hooks/fs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python/operators/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{airflow_dbt_python-3.4.0 → airflow_dbt_python-3.6.0}/airflow_dbt_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|