Skip to main content
AsyncDeutero mirrors Deutero: the same resources, the same methods and the same arguments, with every method returning an awaitable.

Concurrent requests

Use asyncio.gather to fan out independent calls, such as fetching every transcript for a page of interviews:
For bulk export, transcripts.list returns full transcripts a page at a time in a single request, which is usually cheaper than fetching each one.

Polling a simulation

Simulations run in the background. Poll without blocking the event loop:

Closing the client

Use async with, or call await client.close() when you’re done, to release the connection pool. If you passed your own httpx.AsyncClient, you’re responsible for closing it.