(*, ctx, node_input)
| 1185 | |
| 1186 | @node(rerun_on_resume=True) |
| 1187 | async def parent_node(*, ctx, node_input): |
| 1188 | tasks = [ctx.run_node(echo_node, node_input=f'call_{i}') for i in range(3)] |
| 1189 | results = await asyncio.gather(*tasks) |
| 1190 | yield results |
| 1191 | |
| 1192 | wf = Workflow(name='wf', edges=[(START, parent_node)]) |
| 1193 | ss = InMemorySessionService() |