We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c85079 commit 361fecbCopy full SHA for 361fecb
python/hatchet.py
@@ -13,10 +13,11 @@ def step1(self, context: Context):
13
}
14
15
@hatchet.step(name="step2", parents=["step1"])
16
- def step2(self, context: Context):
+ async def step2(self, context: Context):
17
context.log("Called step2")
18
19
- context.spawn_workflow("quickstart-child-python", {}).result()
+ res = await context.aio.spawn_workflow("quickstart-child-python", {})
20
+ await res.result()
21
22
return {
23
"result": "This is a step which spawned a child workflow."
0 commit comments