Join Slack
Powered by
Is it possible for a generic op to reference an SD...
# ask-community
f
fahad
01/31/2023, 8:33 PM
Is it possible for a generic op to reference an SDA as an input?
dagster bot responded by community
2
z
Zach P
01/31/2023, 8:46 PM
Have you checked to see if passing an AssetIn to the op’s “ins” kwarg works?
f
fahad
01/31/2023, 8:47 PM
I have not - was trying to find some docs on this but couldn’t find much
z
Zach P
01/31/2023, 8:49 PM
I use something like
@op(ins={"sda_dataframe":In(asset_key=AssetKey("key_name")})
f
fahad
01/31/2023, 9:12 PM
Ooo so that works and resolves the input? Nice!
3
Views
Open in Slack
Previous
Next