from types import TracebackType from typing import Any, Self import aiohttp import httpx from aiohttpx.responses import Response EXCEPTIONS = ... class AiohttpTransport(httpx.AsyncBaseTransport): def __init__( self, session: aiohttp.ClientSession | None = ... ) -> None: ... def map_aiohttp_exception( self, exc: Exception ) -> httpx.TimeoutException | httpx.HTTPError: ... async def __aenter__(self) -> Self: ... async def __aexit__( self, exc_type: type[BaseException] | None = ..., exc_value: BaseException | None = ..., traceback: TracebackType | None = ..., ) -> None: ... async def aclose(self) -> None: ... async def handle_async_request( self, request: httpx.Request ) -> Response: ... async def make_request( self, method: str, url: str, headers: dict[str, Any], data: bytes ) -> Response: ...