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

Method _prepare_options

src/openai/_base_client.py:1546–1551  ·  src/openai/_base_client.py::AsyncAPIClient._prepare_options

Hook for mutating the given options

(
        self,
        options: FinalRequestOptions,  # noqa: ARG002
    )

Source from the content-addressed store, hash-verified

1544 await self.close()
1545
1546 async def _prepare_options(
1547 self,
1548 options: FinalRequestOptions, class="cm"># noqa: ARG002
1549 ) -> FinalRequestOptions:
1550 class="st">""class="st">"Hook for mutating the given options"class="st">""
1551 return options
1552
1553 async def _prepare_request(
1554 self,

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected