-
Notifications
You must be signed in to change notification settings - Fork 9
Load users by ID #698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load users by ID #698
Conversation
+ tests related to descope/etc#12741
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements functionality to load users by their IDs through a new load_users method in the user management module, addressing issue #12741.
- Adds
load_usersmethod to retrieve multiple users by their IDs with optional flag to include invalid users - Includes comprehensive test coverage for success and failure scenarios
- Updates documentation with usage example
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| descope/management/user.py | Implements load_users method with validation and API integration |
| descope/management/common.py | Adds new API endpoint path for users load operation |
| tests/management/test_user.py | Adds comprehensive test cases covering error and success flows |
| README.md | Documents the new functionality with usage example |
| .vscode/settings.json | Updates VS Code workspace color theme settings |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Coverage reportThe coverage rate went from
Diff Coverage details (click to unfold)descope/management/user.py
descope/management/common.py
|
related to https://github.com/descope/etc/issues/12741