Ben Gatewood
08/22/2022, 5:54 AMoutput_required=False
asset keyword that came in 1.0.4 but it appears to only be applicable to assets defined with the @asset
decorator. How do I apply it to a graph backed asset?Vinnie
08/22/2022, 6:25 AMAssetOut
(I think it’s not in the docs, but works) and set the flag is_required=False
https://github.com/dagster-io/dagster/blob/master/python_modules/dagster/dagster/_core/definitions/asset_out.py#L17Ben Gatewood
08/22/2022, 6:29 AMop
right?Vinnie
08/22/2022, 6:30 AMVinnie
08/22/2022, 6:31 AMBen Gatewood
08/22/2022, 6:31 AMVinnie
08/22/2022, 6:33 AMyield
the output, since it has to be dynamic, I ultimately just used a @multi_asset
Ben Gatewood
08/22/2022, 6:33 AMVinnie
08/22/2022, 6:35 AMBen Gatewood
08/22/2022, 6:38 AMBen Gatewood
08/22/2022, 7:25 AMop
and the AssetDefinition
doesn't seem to be enough