airflow-dbt-python 3.2.0__py3-none-any.whl → 3.2.2__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.
@@ -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
@@ -1,8 +1,8 @@
1
1
  airflow_dbt_python/__init__.py,sha256=qYIsTHy4p3NX0QYIsLdatz6GlnaMwYsSoD3wtPD0BqY,153
2
- airflow_dbt_python/__version__.py,sha256=HYRdaEZRQzwBbQcW1emrYrgXxGLePz4d-mfD_mLK9Wo,190
2
+ airflow_dbt_python/__version__.py,sha256=L5tGZoBhgM83Oc0KXHguEeSihP2qwTA6u74rTu5Hkp4,190
3
3
  airflow_dbt_python/hooks/__init__.py,sha256=jMdE1qzdpB_4w9IvxTnfB5g6SjEAWq6UDCnQiQi4xLQ,73
4
4
  airflow_dbt_python/hooks/dbt.py,sha256=BPomtFF9Lg2YAy28k5EuNn3lRC116t76hjZzzksAqqc,13762
5
- airflow_dbt_python/hooks/target.py,sha256=8cFZxwQzC5Pmo7mvt08iOpLZ3o5epNlhM3m1OsaaYo4,17008
5
+ airflow_dbt_python/hooks/target.py,sha256=r09rPLPyWdzTrvznwTnqneuXnKRjQAK-h-gTHC-TBh4,17115
6
6
  airflow_dbt_python/hooks/fs/__init__.py,sha256=xwCCHrTyEAUpQiMajEs5sJUFOQLBctqggROMJXEaWew,5527
7
7
  airflow_dbt_python/hooks/fs/gcs.py,sha256=RRF5gvwy_opYIJt6-RF05Ww96SrzIJDrKs859iReRNo,8458
8
8
  airflow_dbt_python/hooks/fs/git.py,sha256=pEF1aWpVjr6s64Dn3i6ekVC2FhBFqksKePUF_fJeE4g,7463
@@ -16,8 +16,8 @@ airflow_dbt_python/utils/enums.py,sha256=rktUM8cTkEUsdNbzd_f6fxfgNiZGifJfOr0zvrs
16
16
  airflow_dbt_python/utils/env.py,sha256=o2Y3RMyXADSpUCU-G0yRiqXB-yo3oPsXtCEI7H5GIyM,646
17
17
  airflow_dbt_python/utils/url.py,sha256=Ac7PJMl3AsrVMXGPgFdzOrAVsvCfS4hMWAtwgRMdbP0,16111
18
18
  airflow_dbt_python/utils/version.py,sha256=lmyovzi4erd7r7tGHAM8qsPgFs4htRVW3di8Tmbv2hc,1449
19
- airflow_dbt_python-3.2.0.dist-info/licenses/LICENSE,sha256=8yx5JCe-4cW52JiqVrMlA990r7tuac2foiUryhV9dfY,1073
20
- airflow_dbt_python-3.2.0.dist-info/METADATA,sha256=ZoJpSq4Cgt0tBAbP8rarNDVtIDsncWz3QVwqigXAITI,16175
21
- airflow_dbt_python-3.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- airflow_dbt_python-3.2.0.dist-info/top_level.txt,sha256=4mfoYT9MaEb9h9Cyyu8kJwg34TKh_L3fpq0YWx-q60Y,19
23
- airflow_dbt_python-3.2.0.dist-info/RECORD,,
19
+ airflow_dbt_python-3.2.2.dist-info/licenses/LICENSE,sha256=8yx5JCe-4cW52JiqVrMlA990r7tuac2foiUryhV9dfY,1073
20
+ airflow_dbt_python-3.2.2.dist-info/METADATA,sha256=xQypXQ0roPKx3LlR03B3nIde4ndbA3rCWGTi015Twbs,16175
21
+ airflow_dbt_python-3.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ airflow_dbt_python-3.2.2.dist-info/top_level.txt,sha256=4mfoYT9MaEb9h9Cyyu8kJwg34TKh_L3fpq0YWx-q60Y,19
23
+ airflow_dbt_python-3.2.2.dist-info/RECORD,,