# AsyncRetryTransport

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_transport/AsyncRetryTransport)

Async httpx transport that retries on transient errors.

Async equivalent of RetryTransport. See RetryTransport for details.

## Signature

```python
AsyncRetryTransport(
    self,
    *,
    max_retries: int = 3,
    transport: httpx.AsyncBaseTransport | None = None,
)
```

## Extends

- `httpx.AsyncBaseTransport`

## Constructors

```python
__init__(
    self,
    *,
    max_retries: int = 3,
    transport: httpx.AsyncBaseTransport | None = None,
) -> None
```

| Name | Type |
|------|------|
| `max_retries` | `int` |
| `transport` | `httpx.AsyncBaseTransport \| None` |


## Methods

- [`handle_async_request()`](https://reference.langchain.com/python/langsmith/sandbox/_transport/AsyncRetryTransport/handle_async_request)
- [`aclose()`](https://reference.langchain.com/python/langsmith/sandbox/_transport/AsyncRetryTransport/aclose)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/sandbox/_transport.py#L124)