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

Function load_artifact

tests/unittests/tools/test_agent_tool.py:357–363  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

355 runner.run('test1')
356
357 async def load_artifact(filename: str):
358 return await runner.runner.artifact_service.load_artifact(
359 app_name='test_app',
360 user_id='test_user',
361 session_id=runner.session_id,
362 filename=filename,
363 )
364
365 assert await runner.runner.artifact_service.list_artifact_keys(
366 app_name='test_app', user_id='test_user', session_id=runner.session_id

Callers 1

test_update_artifactsFunction · 0.70

Calls 1

load_artifactMethod · 0.45

Tested by

no test coverage detected