Emrullah Ergun
08/31/2023, 12:22 PMTim Castillo
08/31/2023, 4:36 PMproject_b/orders
The solution to your problem would be overriding Dagster's default way of making those asset keys for each of your projects and controlling to make sure that each source's asset key matches the model's asset key.
Depending on your setup, you might want to:
• load each project separately with dbt_assets
• define a separate DagsterDbtTranslator
for each project
◦ define each get_asset_key
method to resolve Project B's source to match with the other asset key for Project A
Here's some documentation on how you define your own DagsterDbtTranslator.