Hi guys, in order to load dbt models in dagster, d...
# ask-community
y
Hi guys, in order to load dbt models in dagster, do I have to have config part inside of dbt model? Like this:
Copy code
{{
    config(
        materialized='view',
    )
}}
j
cc @owen
o
nope! the config can be anywhere
y
but when I removed this part from my dbt model, the dbt model will not show up in my dagster
example:
Copy code
{{
    config(
        materialized='view',
    )
}}
with source as (

    select * from {{ source('any', 'any') }}

)


select * from source
o
what command are you using to load your dbt models? and do you have any default config defined in your dbt project?
view
and
table
models will show up as assets in dagster, but
ephemeral
ones will not
y
I am using load_assets_from_dbt_project
oh got it, I saw the ephemeral is our default setting, thx a lot!
🌈 1