MCPcopy
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
906class _DefaultHttpxClient(httpx.Client):

Callers 2

requestMethod · 0.80
requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected