https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jarryd Garisch

06/27/2022, 3:15 PM
Hi all, think I'm missing something on the github cereals example for dagster cloud (https://github.com/dagster-io/dagster-cloud/tree/main/dagster-cloud-examples/dagster_cloud_examples/cereals/), but I'm not sure where assets should go, (is it a subdir of ops in an init file too?).
d

daniel

06/27/2022, 6:41 PM
Hi Jarryd - we have a more fully-featured example of a dagster repo with assets that might be helpful here: https://github.com/dagster-io/dagster/tree/master/examples/hacker_news_assets/hacker_news_assets That example has an example of ways you can quickly load all assets from a Python module, for example
s

sandy

06/27/2022, 7:10 PM
hey Jarryd - that example is actually a little bit outdated (e.g. it uses AssetGroups, which are now deprecated). I would recommend creating a folder at the same level as "jobs" called "assets"
j

Jarryd Garisch

06/28/2022, 7:35 AM
Thank you both very much!
3 Views