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

Method delete_artifact

tests/unittests/cli/test_fast_api.py:397–400  ·  view source on GitHub ↗

Delete an artifact.

(self, app_name, user_id, session_id, filename)

Source from the content-addressed store, hash-verified

395 return [entry["metadata"] for entry in artifacts[key]]
396
397 async def delete_artifact(self, app_name, user_id, session_id, filename):
398 """Delete an artifact."""
399 key = _artifact_key(app_name, user_id, session_id, filename)
400 artifacts.pop(key, None)
401
402 async def get_artifact_version(
403 self,

Callers 1

test_save_load_deleteFunction · 0.45

Calls 2

_artifact_keyFunction · 0.85
popMethod · 0.80

Tested by

no test coverage detected