-
Notifications
You must be signed in to change notification settings - Fork 9
Support Descoper methods #717
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
base: main
Are you sure you want to change the base?
Conversation
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 adds support for Descoper management methods to the Descope Python SDK, enabling CRUD operations for Descoper entities (users with specific roles and permissions in projects).
Key Changes:
- Implements
create,load,update,delete, andlistmethods for Descoper management - Adds new data classes for Descoper attributes, RBAC configuration, roles, and creation parameters
- Extends HTTP client with PUT method support
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tests/management/test_descoper.py |
Comprehensive test suite covering all CRUD operations with success and failure scenarios |
descope/mgmt.py |
Registers Descoper management interface as a property of the management client |
descope/management/descoper.py |
Core implementation of Descoper CRUD operations with validation and HTTP calls |
descope/management/common.py |
Defines API endpoints and data classes for Descoper entities, roles, and RBAC configuration |
descope/http_client.py |
Adds PUT HTTP method to support Descoper creation endpoint |
descope/__init__.py |
Exports Descoper-related classes for public API access |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Coverage reportThe coverage rate went from
Diff Coverage details (click to unfold)descope/management/common.py
descope/management/descoper.py
descope/mgmt.py
descope/http_client.py
|
Related Issues
Part-of: https://github.com/descope/etc/issues/12606
Description
As the title says.
Must