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
feat: Add async demo application and related tests
- Introduced `async_demo_app.py` to demonstrate async capabilities of the Descope SDK.
- Added `asyncer` dependency to `pyproject.toml`.
- Updated coverage threshold to 97.
- Created comprehensive tests for async methods in `test_async.py`.
- Refactored existing tests for better readability and consistency.
- Enhanced error handling in async methods.
Copy file name to clipboardExpand all lines: README.md
+77-3Lines changed: 77 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,33 @@
3
3
The Descope SDK for python provides convenient access to the Descope user management and authentication API
4
4
for a backend written in python. You can read more on the [Descope Website](https://descope.com).
5
5
6
+
## ✨ New: Async Support
7
+
8
+
The SDK now supports async/await patterns alongside the existing synchronous API. Both APIs provide identical functionality with the same method signatures and error handling.
The session and refresh JWTs should be returned to the caller, and passed with every request in the session. Read more on [session validation](#session-validation)
109
160
110
161
### Magic Link
@@ -115,8 +166,12 @@ This redirection can be configured in code, or generally in the [Descope Console
115
166
116
167
The user can either `sign up`, `sign in` or `sign up or in`
The session and refresh JWTs should be returned to the caller, and passed with every request in the session. Read more on [session validation](#session-validation)
0 commit comments