clay
02/03/2023, 10:34 PMjamie
02/03/2023, 10:47 PMclay
02/03/2023, 10:51 PMload_assets_from_package_module()
?jamie
02/06/2023, 4:30 PMload_assets_from_package_module
will only find the @assets
defined in a module. You can define your ops/jobs wherever you want as long as it’s importable to wherever you define your definitions, you could have a single jobs.py
file or a jobs
folder with subfiles/folders if you’ll have a lot of jobs. This example defines them all alongside the defintions object because there’s only one job https://github.com/dagster-io/dagster/blob/master/examples/with_pyspark/with_pyspark/definitions.pyclay
02/06/2023, 4:30 PM