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

Function call

tests/lib/tools/memory_sync/test_lost_response.py:44–47  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

42
43 def failing(send: Any) -> Any:
44 async def call(*args: Any, **kwargs: Any) -> Any:
45 if after_saving:
46 await send(*args, **kwargs)
47 raise APIConnectionError(request=httpx2.Request("POST", "https://api.example/v1/memory"))
48
49 return call
50

Callers

nothing calls this directly

Calls 2

APIConnectionErrorClass · 0.90
sendFunction · 0.85

Tested by

no test coverage detected