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

Function create_a2a_runner_loader

src/google/adk/cli/fast_api.py:685–691  ·  view source on GitHub ↗

Factory function to create A2A runner with proper closure.

(captured_app_name: str)

Source from the content-addressed store, hash-verified

683 if base_path.exists() and base_path.is_dir():
684
685 def create_a2a_runner_loader(captured_app_name: str):
686 """Factory function to create A2A runner with proper closure."""
687
688 async def _get_a2a_runner_async() -> Runner:
689 return await adk_web_server.get_runner_async(captured_app_name)
690
691 return _get_a2a_runner_async
692
693 for p in base_path.iterdir():
694 # only folders with an agent.json file representing agent card are valid

Callers 1

get_fast_api_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected