https://dagster.io/ logo
Title
s

Steve Jackson

05/22/2023, 2:46 PM
Steve Jackson, with BENLabs -- trying Dagster for the first time to see if it is the correct platform for our DE needs.
😛artyblob: 1
o

Odette Harary

05/22/2023, 2:58 PM
Great! Let us know if you have any questions along the way
s

Steve Jackson

05/22/2023, 3:00 PM
Thanks @Odette Harary, I indeed would like some clarity about when to use
asset
, vs
ops
. The docs suggest that assets are the preferred approach, but so many of the examples use ops. Shall I ask this question in the support channel?
o

Odette Harary

05/22/2023, 3:04 PM
Hi Steve - yes, we recommend using assets for the majority of use cases. Best practice is to only use
ops
when you want to do some action like sending a slack message where returning a value isn't the focus. Take a look at this doc https://docs.dagster.io/guides/dagster/how-assets-relate-to-ops-and-graphs
s

Steve Jackson

05/22/2023, 3:06 PM
I thought I had read the docs thoroughly, somehow I missed that -- thanks.