dbt_ls_path: wrong docs and argument should support both Path and str types #773
Labels
area:docs
Relating to documentation, changes, fixes, improvement
dbt:parse
Primarily related to dbt parse command or functionality
parsing:dbt_ls
Issues, questions, or features related to dbt_ls parsing
According to the documentation we support
str
as an argument todbt_ls_path
:LoadMode.DBT_LS_FILE
dbt_ls_path
is expected to be aPath
according todbt_ls_path: Path | None = None
in https://github.com/astronomer/astronomer-cosmos/blob/82e8db97d6a31757fb2da019fc36df52c342eb70/cosmos/config.py#L62C5-L62C36 . This is not consistent with other*_path
arguments, which allowstr | Path
, for exampledbt_project_path: InitVar[str | Path | None] = None
in the line just above.I propose to fix 1. and change allow
str | Path
types for the argumentdbt_ls_path
The text was updated successfully, but these errors were encountered: