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

Method renumber

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

Source from the content-addressed store, hash-verified

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