MCPcopy
hub / github.com/encode/httpx / __aexit__

Method __aexit__

httpx/_transports/default.py:365–372  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None = None,
        exc_value: BaseException | None = None,
        traceback: TracebackType | None = None,
    )

Source from the content-addressed store, hash-verified

363 return self
364
365 async def __aexit__(
366 self,
367 exc_type: type[BaseException] | None = None,
368 exc_value: BaseException | None = None,
369 traceback: TracebackType | None = None,
370 ) -> None:
371 with map_httpcore_exceptions():
372 await self._pool.__aexit__(exc_type, exc_value, traceback)
373
374 async def handle_async_request(
375 self,

Callers

nothing calls this directly

Calls 1

map_httpcore_exceptionsFunction · 0.85

Tested by

no test coverage detected