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

Method _run_async_impl

tests/unittests/test_runners.py:122–132  ·  view source on GitHub ↗
(
      self, invocation_context: InvocationContext
  )

Source from the content-addressed store, hash-verified

120 super().__init__(name=name, sub_agents=[])
121
122 async def _run_async_impl(
123 self, invocation_context: InvocationContext
124 ) -> AsyncGenerator[Event, None]:
125 yield Event(
126 invocation_id=invocation_context.invocation_id,
127 author=self.name,
128 content=types.Content(
129 role="model", parts=[types.Part(text="Test response")]
130 ),
131 custom_metadata={"event_key": "event_value"},
132 )
133
134
135class MockPlugin(BasePlugin):

Callers

nothing calls this directly

Calls 1

EventClass · 0.90

Tested by

no test coverage detected