Jordan W
06/01/2021, 6:26 PMasync
where possible. I am having a little issue trying to get a basic working example to execute asynchronously. As of now, the basic example solids execute one after another. I saw in the docs that execute_pipeline_iterator
might have to be used. I was wondering if there was any async execution for dagit/dagster cli (apart from execute_pipeline_iterator
) and if I could get some help on my example. Appreciate any and all help.@solid
async def do_stuff(context):
await asyncio.sleep(5)
<http://context.log.info|context.log.info>("hello")
yield Output(42)
@pipeline
def sample_async_pipeline():
do_stuff()
do_stuff()
johann
06/01/2021, 6:29 PMalex
06/01/2021, 7:19 PMrun_config
you can set
"execution": {"multiprocess": {}},
"storage": {"filesystem": {}},
Jordan W
06/01/2021, 9:11 PMdagster.core.errors.DagsterObjectStoreError: Error occurred during storing output "result" for step "{solid_name}" in "filesystem" object store using "pickle".
AttributeError: Can't pickle local object '{solid_name}.<locals>.<lambda>' was wondering if this error
Edit: Think i cant pickle a default dict. not a dagster issue