Is there a simple way to use the DBT client from D...
# ask-community
g
Is there a simple way to use the DBT client from Dagster, without a DBT server running? I'm basically just looking for a package to support templated SQL executed from files in a neat way.
dagster bot responded by community 1
s
You can use the
dbt_cli
ops to run it. We have an job that downloads the repo, then runs the
dbt_cli_op
. You can passing all the normal args to dbt that way. My recommendation would be to use your dbt project as a code location so that you don't have to worry about downloading the latest repo within your op -- you just execute the CLI commands via dagster.
❤️ 1
1