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

Method list_versions

tests/unittests/cli/test_fast_api.py:381–386  ·  view source on GitHub ↗

List versions of an artifact.

(self, app_name, user_id, session_id, filename)

Source from the content-addressed store, hash-verified

379 ]
380
381 async def list_versions(self, app_name, user_id, session_id, filename):
382 """List versions of an artifact."""
383 key = _artifact_key(app_name, user_id, session_id, filename)
384 if key not in artifacts:
385 return []
386 return [entry["version"] for entry in artifacts[key]]
387
388 async def list_artifact_versions(
389 self, app_name, user_id, session_id, filename

Callers 1

test_list_versionsFunction · 0.45

Calls 1

_artifact_keyFunction · 0.85

Tested by

no test coverage detected