sunyuhan1998 opened a new issue, #11114: URL: https://github.com/apache/gravitino/issues/11114
### What would you like to be improved? 1. `UserDTO.Builder.build()` validates `audit != null` on the Java side, but the Python counterpart does not, allowing construction of invalid `UserDTO` objects without audit info. 2. PR #11058 added User API (`add_user`, `get_user`, `remove_user`, `list_users`, `list_user_names`) with only mocked unit tests. Integration tests against a real Gravitino server with authorization enabled are missing. ### How should we improve? 1. Add audit null validation in `UserDTO.Builder.build()` to align with the Java side. 2. Add `tests/integration/test_user.py`, covering CRUD and error scenarios. -- 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]
