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

Class SyncHttpxClientWrapper

src/openai/_base_client.py:854–862  ·  src/openai/_base_client.py::SyncHttpxClientWrapper

Source from the content-addressed store, hash-verified

852
853
854class SyncHttpxClientWrapper(DefaultHttpxClient):
855 def __del__(self) -> None:
856 if self.is_closed:
857 return
858
859 try:
860 self.close()
861 except Exception:
862 pass
863
864
865class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected