airflow-dbt-python 3.0.0__tar.gz → 3.0.1__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 (22) hide show
  1. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/PKG-INFO +1 -1
  2. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/fs/git.py +5 -1
  3. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/pyproject.toml +1 -1
  4. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/LICENSE +0 -0
  5. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/README.md +0 -0
  6. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/__init__.py +0 -0
  7. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/__version__.py +0 -0
  8. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/__init__.py +0 -0
  9. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/dbt.py +0 -0
  10. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/fs/__init__.py +0 -0
  11. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/fs/gcs.py +0 -0
  12. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/fs/local.py +0 -0
  13. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/fs/s3.py +0 -0
  14. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/hooks/target.py +0 -0
  15. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/operators/__init__.py +0 -0
  16. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/operators/dbt.py +0 -0
  17. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/__init__.py +0 -0
  18. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/configs.py +0 -0
  19. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/enums.py +0 -0
  20. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/env.py +0 -0
  21. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/url.py +0 -0
  22. {airflow_dbt_python-3.0.0 → airflow_dbt_python-3.0.1}/airflow_dbt_python/utils/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airflow-dbt-python
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: A collection of Airflow operators, hooks, and utilities to execute dbt commands
5
5
  License: MIT
6
6
  Author: Tomás Farías Santana
@@ -157,7 +157,11 @@ class DbtGitFSHook(SSHHook, DbtFSHook):
157
157
  client, path, branch = self.get_git_client_path(source)
158
158
 
159
159
  client.clone(
160
- path, str(destination), mkdir=not destination.exists(), branch=branch
160
+ path,
161
+ str(destination),
162
+ mkdir=not destination.exists(),
163
+ # NOTE: Dulwich expects branch to be bytes if defined.
164
+ branch=branch.encode("utf-8") if isinstance(branch, str) else branch,
161
165
  )
162
166
 
163
167
  def get_git_client_path(self, url: URL) -> Tuple[GitClients, str, Optional[str]]:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "airflow-dbt-python"
3
- version = "3.0.0"
3
+ version = "3.0.1"
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"