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

Function _get_params

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

Source from the content-addressed store, hash-verified

41
42
43def _get_params(client: BaseClient[Any, Any]) -> dict[str, str]:
44 request = client._build_request(FinalRequestOptions(method="get", url="/foo"))
45 url = httpx.URL(request.url)
46 return dict(url.params)
47
48
49def _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