From 612a73af254ae36fcd5f94dfa95202c12b1adb9b Mon Sep 17 00:00:00 2001 From: fritz-astronomer <80706212+fritz-astronomer@users.noreply.github.com> Date: Fri, 20 Oct 2023 20:47:50 -0400 Subject: [PATCH] Use .parsed_*_path to allow str | Path --- cosmos/converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmos/converter.py b/cosmos/converter.py index 8137da3ec..3978f1f3c 100644 --- a/cosmos/converter.py +++ b/cosmos/converter.py @@ -106,8 +106,8 @@ def __init__( project_config.validate_project() emit_datasets = render_config.emit_datasets - dbt_root_path = project_config.dbt_project_path.parent - dbt_project_name = project_config.dbt_project_path.name + dbt_root_path = project_config.parsed_dbt_project_path.parent + dbt_project_name = project_config.parsed_dbt_project_path.name dbt_models_dir = project_config.models_relative_path dbt_seeds_dir = project_config.seeds_relative_path dbt_snapshots_dir = project_config.snapshots_relative_path