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

Method __exit__

src/opencode_ai/_streaming.py:67–73  ·  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

65 return self
66
67 def __exit__(
68 self,
69 exc_type: type[BaseException] | None,
70 exc: BaseException | None,
71 exc_tb: TracebackType | None,
72 ) -> None:
73 self.close()
74
75 def close(self) -> None:
76 """

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected