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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,11 @@
9
9
how a consumer would use the library or CLI tool (e.g. adding unit tests, updating documentation, etc) are not captured
10
10
here.
11
11
12
+
## Unreleased
13
+
14
+
### 2.12.3 - 2026-09-11
15
+
- The `retry_on_rate_limit` setting, which controls whether the SDK will retry 429 responses. Defaults to on, retrying most 429 responses up to 3 times. Set this to False on SDK initialization if you wish to manually handle retrying 429 responses. When enabled, if retries are exhausted, requests.exceptions.RetryError will be raised.
Copy file name to clipboardExpand all lines: src/_incydr_sdk/core/settings.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ class IncydrSettings(BaseSettings):
74
74
* **api_client_id**: `str` The API Client Identifier for authentication. env_var=`INCYDR_API_CLIENT_ID`
75
75
* **api_client_secret**: `str` The API Client Secret for authentication. env_var=`INCYDR_API_CLIENT_SECRET`
76
76
* **url**: `str` The URL of your Code42 API gateway instance. env_var=`INCYDR_URL`
77
+
* **retry_on_rate_limit**: `bool` Whether or not to automatically retry when we get a 429 response. Defaults to `True`. env_var=`INCYDR_RETRY_ON_RATE_LIMIT`
77
78
* **page_size**: `int` The default page size for all paginated requests. Defaults to 100. env_var=`INCYDR_PAGE_SIZE`
78
79
* **max_response_history**: `int` The maximum number of responses the `incydr.Client.response_history` list will
79
80
store. Defaults to 5. env_var=`INCYDR_MAX_RESPONSE_HISTORY`
@@ -91,6 +92,7 @@ class IncydrSettings(BaseSettings):
0 commit comments