Hi everyone, what is the best way to define a job that materializes a given subsets of assets in a graph in the order of their dependencies? I.e. When asset1 depends on asset2 and asset3, first materialize assets 2 and3, and then asset1.
c
chris
01/19/2023, 6:53 PM
you should be able to just define a job selecting just those assets, and if you defined those dependencies explicitly within your assets, then they will execute in the order of their dependencies automatically.
a
andi.d
01/19/2023, 7:42 PM
ah, makes sense. Thank you!
Quick follow-up question: Is there a way to include assets from other repos into an asset job definition? For asset dependencies I use SourceAssets. However, this does not work for an asset job definition, as itdoes not accept SourceAsset as input. Is there even a way to include a group from another repo to an asset job?
c
chris
01/24/2023, 8:53 PM
It should work by just providing the asset keys of those source assets