python-sdk
python-sdk copied to clipboard
feat: add async support and tests for Descope SDK
Introduce an asynchronous demo application to showcase the async capabilities of the Descope SDK. Enhance error handling in async methods and add comprehensive tests for these methods. Update the coverage threshold and refactor existing tests for improved readability. Include the asyncer dependency for async functionality.
Coverage report
The coverage rate went from 97.67% to 97.42% :arrow_down:
85.33% of new lines are covered.
Diff Coverage details (click to unfold)
descope/descope_client_async.py
85.71% of new lines are covered (85.71% of the complete file).
Missing lines: 93, 95, 105, 107, 166, 169, 180, 182, 202, 206
descope/auth.py
50% of new lines are covered (95.59% of the complete file).
Missing lines: 17
descope/management/jwt.py
100% of new lines are covered (100% of the complete file).
descope/init.py
100% of new lines are covered (100% of the complete file).
When using this I get no typehints or autocomplete. is this the same with your local setup?
Wiz Scan Summary
Displaying only findings that violated a policy
| Scanner | Findings |
|---|---|
| Total |
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.