Hello I was wandering if there was a way to tell D...
# integration-dbt
o
Hello I was wandering if there was a way to tell Dagster that DBT incremental models are partitionned assets ?
1
o
hi @Olivier Girardot! you are able to supply a partitions_def argument (as well as a partition_key_to_vars function) to
load_assets_from_dbt*
. This will apply the partitions def to all assets loaded with that call, so if you want to apply it to just the incremental models you'd need to split your dbt asset loading into two separate calls (one just for incremental models and one just for non-incremental models)
o
Thanks owen it's pretty clear