airflow-dbt-python 3.2.0__tar.gz → 3.2.2__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.
Files changed (28) hide show
  1. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/PKG-INFO +2 -2
  2. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/__version__.py +1 -1
  3. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/target.py +3 -1
  4. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python.egg-info/PKG-INFO +2 -2
  5. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python.egg-info/requires.txt +1 -1
  6. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/pyproject.toml +2 -2
  7. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/LICENSE +0 -0
  8. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/README.md +0 -0
  9. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/__init__.py +0 -0
  10. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/__init__.py +0 -0
  11. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/dbt.py +0 -0
  12. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/fs/__init__.py +0 -0
  13. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/fs/gcs.py +0 -0
  14. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/fs/git.py +0 -0
  15. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/fs/local.py +0 -0
  16. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/hooks/fs/s3.py +0 -0
  17. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/operators/__init__.py +0 -0
  18. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/operators/dbt.py +0 -0
  19. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/__init__.py +0 -0
  20. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/configs.py +0 -0
  21. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/enums.py +0 -0
  22. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/env.py +0 -0
  23. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/url.py +0 -0
  24. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python/utils/version.py +0 -0
  25. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python.egg-info/SOURCES.txt +0 -0
  26. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python.egg-info/dependency_links.txt +0 -0
  27. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/airflow_dbt_python.egg-info/top_level.txt +0 -0
  28. {airflow_dbt_python-3.2.0 → airflow_dbt_python-3.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airflow-dbt-python
3
- Version: 3.2.0
3
+ Version: 3.2.2
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
@@ -16,7 +16,7 @@ Requires-Python: <3.14,>=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: apache-airflow<4.0,>=2.8; python_version < "3.12"
19
- Requires-Dist: apache-airflow<4.0,>=3.0; python_version >= "3.12" and python_version < "3.13"
19
+ Requires-Dist: apache-airflow<4.0,>=2.9; python_version >= "3.12" and python_version < "3.13"
20
20
  Requires-Dist: apache-airflow<4.0,>=3.1; python_version >= "3.13"
21
21
  Requires-Dist: contextlib-chdir==1.0.2; python_version < "3.11"
22
22
  Requires-Dist: dbt-core<2.0.0,>=1.8.0
@@ -3,4 +3,4 @@
3
3
  __author__ = "Tomás Farías Santana"
4
4
  __copyright__ = "Copyright 2021 Tomás Farías Santana"
5
5
  __title__ = "airflow-dbt-python"
6
- __version__ = "3.2.0"
6
+ __version__ = "3.2.2"
@@ -250,7 +250,7 @@ class DbtConnectionHook(BaseHook, ABC, metaclass=DbtConnectionHookMeta):
250
250
  if isinstance(param, DbtConnectionParam):
251
251
  key = param.override_name
252
252
  value = getattr(conn, param.name, param.default)
253
- if param.converter:
253
+ if value and param.converter:
254
254
  value = param.converter(value)
255
255
  elif isinstance(param, DbtConnectionConditionParam):
256
256
  key, default = param.resolve(conn)
@@ -273,6 +273,8 @@ class DbtConnectionHook(BaseHook, ABC, metaclass=DbtConnectionHookMeta):
273
273
  if isinstance(param, DbtConnectionParam):
274
274
  key = param.override_name
275
275
  value = extra.get(param.name, param.default)
276
+ if value and param.converter:
277
+ value = param.converter(value)
276
278
  elif isinstance(param, DbtConnectionConditionParam):
277
279
  key, default = param.resolve(conn)
278
280
  value = extra.get(param.name, default)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airflow-dbt-python
3
- Version: 3.2.0
3
+ Version: 3.2.2
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
@@ -16,7 +16,7 @@ Requires-Python: <3.14,>=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: apache-airflow<4.0,>=2.8; python_version < "3.12"
19
- Requires-Dist: apache-airflow<4.0,>=3.0; python_version >= "3.12" and python_version < "3.13"
19
+ Requires-Dist: apache-airflow<4.0,>=2.9; python_version >= "3.12" and python_version < "3.13"
20
20
  Requires-Dist: apache-airflow<4.0,>=3.1; python_version >= "3.13"
21
21
  Requires-Dist: contextlib-chdir==1.0.2; python_version < "3.11"
22
22
  Requires-Dist: dbt-core<2.0.0,>=1.8.0
@@ -7,7 +7,7 @@ contextlib-chdir==1.0.2
7
7
  apache-airflow<4.0,>=2.8
8
8
 
9
9
  [:python_version >= "3.12" and python_version < "3.13"]
10
- apache-airflow<4.0,>=3.0
10
+ apache-airflow<4.0,>=2.9
11
11
 
12
12
  [:python_version >= "3.13"]
13
13
  apache-airflow<4.0,>=3.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "airflow-dbt-python"
3
- version = "3.2.0"
3
+ version = "3.2.2"
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"
@@ -20,7 +20,7 @@ classifiers = [
20
20
 
21
21
  dependencies = [
22
22
  "apache-airflow>=2.8,<4.0; python_version<'3.12'",
23
- "apache-airflow>=3.0,<4.0; python_version>='3.12' and python_version<'3.13'",
23
+ "apache-airflow>=2.9,<4.0; python_version>='3.12' and python_version<'3.13'",
24
24
  "apache-airflow>=3.1,<4.0; python_version>='3.13'",
25
25
  "contextlib-chdir==1.0.2;python_version<'3.11'",
26
26
  "dbt-core>=1.8.0,<2.0.0",