MCPcopy Index your code
hub / github.com/google/adk-python / parent_node

Function parent_node

tests/unittests/workflow/test_workflow_dynamic_nodes.py:1187–1190  ·  view source on GitHub ↗
(*, ctx, node_input)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 1

run_nodeMethod · 0.80

Tested by

no test coverage detected