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

Method __aexit__

src/openai/_base_client.py:1538–1544  ·  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

1536 return self
1537
1538 async def __aexit__(
1539 self,
1540 exc_type: type[BaseException] | None,
1541 exc: BaseException | None,
1542 exc_tb: TracebackType | None,
1543 ) -> None:
1544 await self.close()
1545
1546 async def _prepare_options(
1547 self,

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected