Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anthropics/anthropic-sdk-python
/ _idempotency_key
Method
_idempotency_key
src/anthropic/_base_client.py:902–903 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
900
return
False, None
901
902
def
_idempotency_key(self) -> str:
903
return
f
"stainless-python-retry-{uuid.uuid4()}"
904
905
906
class
_DefaultHttpxClient(httpx.Client):
Callers
2
request
Method · 0.80
request
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected