Hey – What is the recommended method for loading "...
# ask-community
w
Hey – What is the recommended method for loading "Regular" Assets and Source Assets into the same group?
c
Hi Will. One easy way is to use `load_assets_from_package_module`/`load_assets_from_current_module` with the
group_name
param set
👍 1
w
Thanks, Claire.
Could you also tell me whether a Source Assets is cached after its initial load or whether each downstream dependency (of the load-calling asset) re loads the source asset?
c
Each downstream dependency loads the source asset once. Under the hood each asset that reads from the source asset separately calls
load_input
on the source asset's IO manager
w
Ah, that's what I thought. Any way I can disable that?
The source asset hasn't changed between the initial call and the downstream calls
c
Unfortunately no native way. One workaround would be to have an intermediate asset between the source asset and the downstream assets
w
Hmm ok, thanks for the info!