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

Method __aexit__

src/openai/_streaming.py:225–231  ·  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

223 return self
224
225 async def __aexit__(
226 self,
227 exc_type: type[BaseException] | None,
228 exc: BaseException | None,
229 exc_tb: TracebackType | None,
230 ) -> None:
231 await self.close()
232
233 async def close(self) -> None:
234 """

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected