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

Method _params_from_url

src/openai/_base_client.py:198–200  ·  view source on GitHub ↗
(self, url: URL)

Source from the content-addressed store, hash-verified

196 ...
197
198 def _params_from_url(self, url: URL) -> httpx.QueryParams:
199 # TODO: do we have to preprocess params here?
200 return httpx.QueryParams(cast(Any, self._options.params)).merge(url.params)
201
202 def _info_to_options(self, info: PageInfo) -> FinalRequestOptions:
203 options = model_copy(self._options)

Callers 1

_info_to_optionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected