Skip to content

Commit 4d67c04

Browse files
committed
feat: Add retry logic for 429 from SaaS instances
1 parent 4923604 commit 4d67c04

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [unreleased]
1010

11+
## [0.14.9] - 2023-09-28
12+
13+
- Add logic to retry network calls if the core returns status 429
14+
1115
## [0.14.8] - 2023-07-07
1216
## Fixes
1317

@@ -148,7 +152,7 @@ if (accessTokenPayload.sub !== undefined) {
148152
```python
149153
from supertokens_python.recipe.session.interfaces import SessionContainer
150154

151-
session: SessionContainer = ...
155+
session: SessionContainer = ...
152156
access_token_payload = await session.get_access_token_payload()
153157

154158
if access_token_payload.get('sub') is not None:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="supertokens_python",
73-
version="0.14.8",
73+
version="0.14.9",
7474
author="SuperTokens",
7575
license="Apache 2.0",
7676
author_email="[email protected]",

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["2.21"]
17-
VERSION = "0.14.8"
17+
VERSION = "0.14.9"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

0 commit comments

Comments
 (0)