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

Function _get_params

tests/test_client.py:48–51  ·  view source on GitHub ↗
(client: BaseClient[Any, Any])

Source from the content-addressed store, hash-verified

46
47
48def _get_params(client: BaseClient[Any, Any]) -> dict[str, str]:
49 request = client._build_request(FinalRequestOptions(method="get", url="/foo"))
50 url = httpx2.URL(request.url)
51 return dict(url.params)
52
53
54def _low_retry_timeout(*_args: Any, **_kwargs: Any) -> float:

Callers 2

Calls 2

FinalRequestOptionsClass · 0.90
_build_requestMethod · 0.80

Tested by

no test coverage detected