feat(python): add user management methods to IggyClient#3695
Open
ethanlin01x wants to merge 4 commits into
Open
feat(python): add user management methods to IggyClient#3695ethanlin01x wants to merge 4 commits into
ethanlin01x wants to merge 4 commits into
Conversation
ethanlin01x
force-pushed
the
feat/python-sdk-user-management
branch
from
July 17, 2026 15:44
321886e to
6fec2bc
Compare
The Python bindings need these types to expose user management, but only UserStatus was re-exported so far.
These types are needed by the upcoming user management methods on IggyClient. Permissions stay unexposed for now, so UserInfoDetails carries the same fields as UserInfo until the follow-up that maps the Permissions structure.
Expose get_user, get_users, create_user, update_user and delete_user, wrapping the Rust SDK UserClient functions like the existing topic and consumer group bindings. create_user always passes no permissions; the Permissions type mapping is left to a follow-up together with update_permissions, change_password and logout_user.
Cover create, get, list, update and delete against a live server, including default status, inactive users, login with created credentials, numeric and name identifiers, repeated listing stability, and pre-connection and pre-authentication failures.
ethanlin01x
force-pushed
the
feat/python-sdk-user-management
branch
from
July 17, 2026 15:51
6fec2bc to
7e57428
Compare
ethanlin01x
marked this pull request as ready for review
July 17, 2026 15:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR address?
Closes #3682
Rationale
Adds the missing user management operations to the Python SDK, which previously had no binding beyond
login_userand forced callers to the CLI or another SDK to provision users.What changed?
The Python SDK exposed no part of the Rust
UserClientsurface besideslogin_user, so users could not be listed, inspected, created, updated, or deleted from Python.get_user,get_users,create_user,update_user, anddelete_usernow bind through to the RustUserClient, andUserInfo,UserInfoDetails, andUserStatusare exposed as Python classes. As scoped in the issue,create_useralways passesNonefor permissions; thePermissionsmapping is left to a follow-up together withupdate_permissions,change_password, andlogout_user.Local Execution
AI Usage
Claude was used to help generate and review this PR.