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

Function aggregate

contributing/samples/workflows/parallel_worker/agent.py:60–66  ·  view source on GitHub ↗
(node_input: list[TopicExplanation])

Source from the content-addressed store, hash-verified

58
59
60def aggregate(node_input: list[TopicExplanation]):
61 return Event(
62 message="\n\n---\n\n".join(
63 f"{explanation.topic}: {explanation.explanation}"
64 for explanation in node_input
65 ),
66 )
67
68
69root_agent = Workflow(

Callers

nothing calls this directly

Calls 2

EventClass · 0.90
joinMethod · 0.45

Tested by

no test coverage detected