I am looking at the code in <https://docs.dagster....
# ask-community
r
I am looking at the code in https://docs.dagster.io/guides/dagster/enriching-with-software-defined-assets#materialize-two-interdependent-tables to understand the ops/job and the assets approach, and it is not clear to me if i can mix them, with the exception of defining Assets in a downstream notebook for the output of a op from a previous notebook
s
Hi Rahul - the most common way to mix them is with graph-backed assets: https://docs.dagster.io/concepts/assets/graph-backed-assets#graph-backed-assets
r
Thank you! Going to go try this now. While the if statement for selective materialization seems weird (but makes sense because the contexts are different), I suspect i can structure the notebooks so as to have them in the "pipeline" python file instead!