Hi Everyone, I have more than 40 Upstream assets t...
# integration-dbt
d
Hi Everyone, I have more than 40 Upstream assets that I load with Dagster, I need to create dependencies with the dbt models in the source.yml file. I am using something like this and it works: meta: dagster: asset_key: [“my_asset_key”] But when in the definition of my asset I add the key_prefix parameter to the decorator, the dependency breaks, for example key_prefix=“source1” and my asset is called def my_asset_key(): The dependency breaks, how can I declare it again within my source.yml? Adding the key_prefix plus the asset key?
l
Yes, that's what I do. Try to keep in mind the order in which Dagster reads your code and applies those prefixes; it can be easy to get turned around.
👏 1
d
Thanks you very much