z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

Allow passing variable definitions to add_project() #30

Closed barrywhart closed 1 year ago

barrywhart commented 1 year ago

This small extension to the DbtProjectContainer.add_project() function permits callers to specify vars for ConfigInterface. This is a step towards rewriting sqlfluff-templater-dbt to use dbt-osmosis rather than calling dbt directly.