Jeff Nawrocki
02/17/2023, 5:36 PMall_assets_job = define_asset_job(name="all_assets_job")
defs = Definitions(
assets=[cereals, nabisco_cereals, cereal_protein_fractions, highest_protein_nabisco_cereal],
jobs=[all_assets_job],
)
if __name__ == "__main__":
result = all_assets_job.execute_in_process()
This throws an error:
AttributeError: 'UnresolvedAssetJobDefinition' object has no attribute 'execute_in_process'
Is there a way to debug this while in an IDE, and is all_assets_job.execute_in_process()
the correct way to run the assets?Jeff Nawrocki
02/17/2023, 5:37 PMdagster dev
but I would ideally be able to debug in the IDE.Jeff Nawrocki
02/17/2023, 5:45 PMmaterialize([cereals, nabisco_cereals, cereal_protein_fractions, highest_protein_nabisco_cereal])
which is possibly the better way to go in this case. If there is a mix of ops and assets, I would still need to run a job right?Jean Gonzalez
02/17/2023, 5:50 PMJean Gonzalez
02/17/2023, 5:51 PMJeff Nawrocki
02/17/2023, 5:52 PMSaul Burgos
02/17/2023, 5:58 PM