airflow-dbt-python 3.4.0__tar.gz → 3.5.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.5.0}/PKG-INFO +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/__version__.py +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/operators/dbt.py +12 -4
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/configs.py +7 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/PKG-INFO +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/pyproject.toml +1 -1
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/LICENSE +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/README.md +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/dbt.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/fs/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/fs/gcs.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/fs/git.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/fs/local.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/fs/s3.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/hooks/target.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/operators/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/__init__.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/enums.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/env.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/url.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python/utils/version.py +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/SOURCES.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/dependency_links.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/requires.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/top_level.txt +0 -0
- {airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/setup.cfg +0 -0
|
@@ -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
|
[project]
|
|
2
2
|
name = "airflow-dbt-python"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.5.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"
|
|
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.5.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.5.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.5.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.5.0}/airflow_dbt_python.egg-info/requires.txt
RENAMED
|
File without changes
|
{airflow_dbt_python-3.4.0 → airflow_dbt_python-3.5.0}/airflow_dbt_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|