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

Method renumber

tests/test_open_telemetry.py:3488–3489  ·  view source on GitHub ↗
(request: Any, call_next: Callable[[Any], Any])

Source from the content-addressed store, hash-verified

3486 monkeypatch.setattr(_base_client.BaseClient, "_calculate_retry_timeout", no_wait)
3487
3488 def renumber(request: Any, call_next: Callable[[Any], Any]) -> Any:
3489 return call_next(request.copy(params={"limit": request.retries_taken + 1}))
3490
3491 async def async_renumber(request: Any, call_next: Callable[[Any], Any]) -> Any:
3492 return await call_next(request.copy(params={"limit": request.retries_taken + 1}))

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected