---
title: "AsyncAeoClient.aclose | Python SDK | AEO API"
description: "Close an asynchronous client that your application opened outside a context manager. Call this after the last request."
url: "https://aeoapi.dev/docs/sdks/python/asyncaeoclient-aclose"
canonical: "https://aeoapi.dev/docs/sdks/python/asyncaeoclient-aclose"
last_updated: "2026-11-30"
---

# AsyncAeoClient.aclose

Close an asynchronous client that your application opened outside a context manager. Call this after the last request.

## Signature

```
async def aclose(self) -> None
```

## Parameters

This method takes no arguments.

## Return value

Returns None after closing the underlying HTTP client.

## Errors

- HTTP client or transport errors during shutdown propagate to the caller.

## Python example

```
import asyncio
import os
from aeo_sdk import AsyncAeoClient

async def main():
    client = AsyncAeoClient(os.environ["AEO_API_KEY"], base_url=os.environ["AEO_API_BASE_URL"])
    try:
        account = await client.v2_get_account()
        print(account.status)
    finally:
        await client.aclose()

asyncio.run(main())
```

See [Python client setup](https://aeoapi.dev/docs/sdks/python) for the environment variables, response properties and retry settings.
