Description
Could ProjectConfig.models_relative_path be changed to take a list of paths? Or, a new parameter "extra_model_paths" be added?
Use case/motivation
I have a directory of source definitions which i use across many dbt projects. The folder structure is
root
- sources
- project_1
- project_2
- ...
Outside of cosmos i have model-paths: ["models", "../dbt_sources"] in my project file to support this, but since cosmos moves the project to a tmp directory and only takes a single string for the relative model paths, i cannot include the sources automatically, and will need to copy them into each project individually in order to use Cosmos.
Related issues
No response
Are you willing to submit a PR?
Description
Could
ProjectConfig.models_relative_pathbe changed to take a list of paths? Or, a new parameter "extra_model_paths" be added?Use case/motivation
I have a directory of source definitions which i use across many dbt projects. The folder structure is
root
Outside of cosmos i have
model-paths: ["models", "../dbt_sources"]in my project file to support this, but since cosmos moves the project to a tmp directory and only takes a single string for the relative model paths, i cannot include the sources automatically, and will need to copy them into each project individually in order to use Cosmos.Related issues
No response
Are you willing to submit a PR?