Skip to main content
AsyncDreep has the same methods, arguments and return types as Dreep. Every call is awaited, and list_all_media() becomes an async iterator.
It runs on asyncio and on trio, because the underlying httpx client does.

URL building stays synchronous

url() and signed_url() make no network call, so they are not coroutines on either client:

Closing

Use the client as an async context manager, or close it yourself:
If you pass your own httpx.AsyncClient, you keep ownership of it and the SDK leaves it open:

Concurrency

Methods are safe to run concurrently on one client — connections are pooled:
Each upload counts separately against your plan, and uploads are never retried automatically — see Errors & Retries.