https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
a

Alex Kan

07/28/2023, 4:01 PM
How can I build a config (for example to pass
--full-refresh
to
dbt build
) using the new
DbtCliResource
? • For context, we’re using the new
DbtCliResource
on Dagster 1.4.2. I know we can pass global configs to this resource easily through
global_config_flags
not using
@dbt_assets
which I know is configurable, but instead using
load_assets_from_dbt_project
with
use_build_command=True
• We’re doing this because we’re loading dbt from project + profiles, not
manifest.json
yet which seems to be the only option for
@dbt_assets
r

rex

07/28/2023, 4:03 PM
a

Alex Kan

07/28/2023, 4:03 PM
How could we accomplish this without using
@dbt_assets
?
r

rex

07/28/2023, 4:05 PM
You can still create the manifest at runtime with
@dbt_assets
. This emulates the behavior from
load_assets_from_dbt_project
https://dagster.slack.com/archives/C04CW71AGBW/p1690395671541379?thread_ts=1690388053.337689&cid=C04CW71AGBW
👀 1
a

Alex Kan

07/28/2023, 4:06 PM
oh awesome, thanks as always for the great support! 🙏
❤️ 1
12 Views