https://dagster.io/ logo
Title
r

Rahul Dave

01/26/2023, 2:17 AM
Can one mix ops and assets? I have a set of notebooks, some of which produce outputs which feed into the others. My first attempt was to set up dagstermill assets, until i realized there that the asset was the notebook, and not any outputs i want from it. So my next attempt is going to be to use
define_dagstermill_op
with appropriate ins and outs. With
define_dagstermill_asset
I can use
AssetIn
objects in
ins
, can I do that in
define_dagstermill_op
? And what about the
outs
?
j

Jakub Zgrzebnicki

01/26/2023, 8:42 AM
r

Rahul Dave

01/26/2023, 9:50 PM
Thank you! Going to go try this now. While the if statement for selective materialization seems wierd, I suspect i can structure the notebooks so as to have them in the "pipeline" python file instead!