Skip to content

Conversation

@aviadl
Copy link
Member

@aviadl aviadl commented Dec 2, 2025

Copilot AI review requested due to automatic review settings December 2, 2025 19:45
@aviadl aviadl enabled auto-merge (squash) December 2, 2025 19:45
Copy link
Contributor

Copilot AI left a 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_users method 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.

aviadl and others added 2 commits December 2, 2025 21:47
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Coverage report

The coverage rate went from 98.18% to 98.19% ⬆️

100% of new lines are covered.

Diff Coverage details (click to unfold)

descope/management/user.py

100% of new lines are covered (96.02% of the complete file).

descope/management/common.py

100% of new lines are covered (99.59% of the complete file).

@aviadl aviadl requested a review from dorsha December 2, 2025 20:10
@aviadl aviadl merged commit c152f07 into main Dec 2, 2025
24 checks passed
@aviadl aviadl deleted the load-users-by-ids branch December 2, 2025 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants