Skip to content

Commit

Permalink
Use .parsed_*_path to allow str | Path
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-astronomer authored Oct 21, 2023
1 parent b7381c8 commit 612a73a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmos/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 612a73a

Please sign in to comment.