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
v1.1.0: auto-retry with backoff, pagination helpers, split timeouts, typed returns
- Automatic retry with exponential backoff + jitter on 429, 5xx, and network errors
- Configurable retry policy (max_retries, backoff_multiplier, initial_retry_delay, max_retry_delay)
- paginate() and paginate_pages() generators for auto-pagination
- Split timeouts (connect_timeout, read_timeout) with tuple support
- Typed return values on all 70+ resource methods (specific TypedDicts)
- rate_limit_info property exposes last 429 state
- Updated README with new feature documentation
After a 429 response, the SDK exposes the last known rate limit state:
230
+
231
+
```python
232
+
print(client.rate_limit_info)
233
+
# {"retry_after": 30, "timestamp": 1712345678.0} — or None if no 429 encountered
234
+
```
235
+
173
236
## Error Handling
174
237
175
-
The SDK throws typed exceptions you can catch and handle:
238
+
The SDK raises typed exceptions you can catch and handle. With automatic retries enabled (default), you'll only see these after all retry attempts are exhausted:
0 commit comments