is there a way to get seeds and macros to show up ...
# integration-dbt
m
is there a way to get seeds and macros to show up as assets using the load_assets_from_dbt_project
r
If you set
use_build_command=True
, you will load
models
,
seed
, and
snapshot
as assets.
m
perfect, thank you
i knew there was a way, just could not find it
is there any way to get macros to show up as assets as well?
r
no — I’m curious why you would want a macro to show up as an asset?
m
I have some specific post processing that I need done after certain models are processed and that logic was in a dbt macro. was hopin to decouple the post_hook and use dagster to initiate the post flow without having to re-create the wheel
r
Could you just create a downstream asset of your models, and use
dbt run-operation
in that asset?
You could take a look at https://github.com/dagster-io/dagster/discussions/14477 to see if this helps with your use case
m
I will take a look at that, thanks for the info