MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / SyncHttpxClientWrapper

Class SyncHttpxClientWrapper

src/opencode_ai/_base_client.py:807–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805
806
807class SyncHttpxClientWrapper(DefaultHttpxClient):
808 def __del__(self) -> None:
809 if self.is_closed:
810 return
811
812 try:
813 self.close()
814 except Exception:
815 pass
816
817
818class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected