MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / boom

Function boom

tests/lib/tools/memory_sync/test_memory_sync.py:550–551  ·  view source on GitHub ↗
(*_a: Any, **_k: Any)

Source from the content-addressed store, hash-verified

548 (local / "f.md").write_text("v2 from agent")
549
550 async def boom(*_a: Any, **_k: Any) -> Any:
551 raise RuntimeError("upload exploded")
552
553 original = stores._client.beta.memory_stores.memories.update # pyright: ignore[reportPrivateUsage]
554 stores._client.beta.memory_stores.memories.update = boom # pyright: ignore[reportPrivateUsage]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected