sunyuhan1998 opened a new pull request, #11109: URL: https://github.com/apache/gravitino/pull/11109
## Summary This PR adds Group authorization management support to the Gravitino Python client SDK, following the pattern established in #11058 (User management). It is split from the original monolithic PR #10783. ### Changes - **API**: `Group` interface with `name()` and `roles()` methods - **DTO**: `GroupDTO` with immutable roles (`tuple[str, ...]` internally, defensive `list` copy via `roles()`); audit null validation in Builder - **Request/Response**: `GroupAddRequest`, `GroupResponse`, `GroupListResponse`, `GroupNamesListResponse` - **Error Handler**: `GroupErrorHandler` mapping REST error codes to `NoSuchGroupException`, `GroupAlreadyExistsException`, etc. - **Client**: 5 CRUD methods on both `GravitinoMetalake` and `GravitinoClient` (`add_group`, `remove_group`, `get_group`, `list_groups`, `list_group_names`) - **Tests**: Unit tests (33 cases) and integration tests (6 cases) ### Sub-task of - #10782 (Authorization management for Python SDK) ## Related issues - Closes #11094 ## Reviewers @jerryshao -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
