MCPcopy
hub / github.com/openai/openai-python / _get_params

Function _get_params

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

Source from the content-addressed store, hash-verified

55
56
57def _get_params(client: BaseClient[Any, Any]) -> dict[str, str]:
58 request = client._build_request(FinalRequestOptions(method="get", url="/foo"))
59 url = httpx.URL(request.url)
60 return dict(url.params)
61
62
63def _low_retry_timeout(*_args: Any, **_kwargs: Any) -> float:

Callers 2

Calls 2

FinalRequestOptionsClass · 0.90
_build_requestMethod · 0.45

Tested by

no test coverage detected