You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add async support with AsyncSeam and AsyncSeamWithoutWorkspace
Add an async variant of every client entrypoint, mirroring the sync API
one-to-one, backed by httpx.AsyncClient:
- AsyncSeamHttpClient wraps httpx.AsyncClient with the same retry
transport, header, and error handling as SeamHttpClient, with the
shared response handling extracted into SeamHttpResponseHandler.
- Generate Async* and AbstractAsync* route classes alongside the sync
classes from the same templates, plus AsyncRoutes in the routes index.
- Add resolve_action_attempt_async polling with asyncio.sleep, and
AsyncSeamPaginator with async response hooks and an async flatten
generator.
- Add AsyncSeam and AsyncSeamWithoutWorkspace with async context manager
support and close(), and give the sync clients close() and context
manager support for symmetry.
- Test the async client against the fake Seam Connect server and the
recording server using pytest-asyncio, covering auth, action attempt
waiting, pagination, retries, errors, and concurrent requests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TszCfraSbGaYQ9TFaD5jjX
0 commit comments