python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

feat: add async support and tests for Descope SDK

Open omercnet opened this issue 5 months ago • 3 comments

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.

omercnet avatar Jun 26 '25 13:06 omercnet

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).

github-actions[bot] avatar Jun 26 '25 13:06 github-actions[bot]

When using this I get no typehints or autocomplete. is this the same with your local setup?

LioriE avatar Jun 29 '25 07:06 LioriE

Wiz Scan Summary

Displaying only findings that violated a policy

Scanner Findings
Vulnerability Finding Vulnerabilities
Data Finding Sensitive Data
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations
Total

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

ghost avatar Jun 30 '25 10:06 ghost