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

Function _get_params

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

Source from the content-addressed store, hash-verified

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