Chris Nogradi
02/07/2023, 3:38 PMdef yield_result(self, value, output_name="result"):
<snip>
# dagstermill assets do not support yielding additional results within the notebook:
if len(step_context.job_def.asset_layer.asset_keys) > 0:
raise DagstermillError(
"dagstermill assets do not currently support dagstermill.yield_result"
)
jamie
02/08/2023, 2:28 PMnon_argument_deps
. then i think you could use the asset corresponding to the result in other assets and it would fetch the correct value from storage.
big caveat - i’ve never tried this and i dont know if you’ll run into typing issues (returning None from the asset but expecting it to be a typed value in a downstream asset may be an issue) or other major issues. If you want to give it a try i recommend writing up a super simple notebook + asset graph to test it outChris Nogradi
02/08/2023, 4:01 PM