[Feature] Add way to add models path to ProjectConfig in addition to relative path #1357
Labels
area:config
Related to configuration, like YAML files, environment variables, or executer configuration
enhancement
New feature or request
triage-needed
Items need to be reviewed / assigned to milestone
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
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?
The text was updated successfully, but these errors were encountered: