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

Method _prepare_options

src/openai/_base_client.py:939–944  ·  view source on GitHub ↗

Hook for mutating the given options

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

Source from the content-addressed store, hash-verified

937 self.close()
938
939 def _prepare_options(
940 self,
941 options: FinalRequestOptions, # noqa: ARG002
942 ) -> FinalRequestOptions:
943 """Hook for mutating the given options"""
944 return options
945
946 def _prepare_request(
947 self,

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected