Join Slack
Powered by
Is it possible to have conditional dependencies in...
# ask-community
n
Nicholas Pezolano
02/14/2024, 4:02 AM
Is it possible to have conditional dependencies in an asset? e.g
def my_asset(asset_1 or _asset_2)_
y
Yooki Adair
02/14/2024, 5:40 AM
https://docs.dagster.io/concepts/assets/software-defined-assets#conditional-materialization
Might be useful
n
Nicholas Pezolano
02/14/2024, 3:27 PM
Thanks so I would set both dependencies with
@asset(output_required=False)
?
10
Views
Open in Slack
Previous
Next