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

Method __exit__

src/opencode_ai/_base_client.py:884–890  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc: BaseException | None,
        exc_tb: TracebackType | None,
    )

Source from the content-addressed store, hash-verified

882 return self
883
884 def __exit__(
885 self,
886 exc_type: type[BaseException] | None,
887 exc: BaseException | None,
888 exc_tb: TracebackType | None,
889 ) -> None:
890 self.close()
891
892 def _prepare_options(
893 self,

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected