Zach P
02/22/2023, 4:11 PMinternal_asset_deps
in a multi_asset
? I have a multi-asset that get’s several assets and would like to only load them into memory if they’re required by one of the selected outputs.
Right now, I’m resolving this by having the internal_asset_deps be a global in the file I define the asset, and using it during asset run time as well but was wondering if there is a better / cleaner way to do this.claire
02/22/2023, 6:25 PMcontext.job_def.asset_layer.assets_def_for_node(self.solid_handle).asset_deps
to fetch the defined internal asset depsZach P
02/22/2023, 10:13 PM