kevinw66 opened a new pull request, #12465:
URL: https://github.com/apache/gravitino/pull/12465

   ### What changes were proposed in this pull request?
   
   Add metadata object role operations to the Python client.
   
   This change:
   
   - Adds `supports_roles()` to metalake, catalog, schema, table, fileset, and 
model APIs.
   - Supports listing directly bound role names for metalakes, catalogs, 
schemas, tables, and filesets.
   - Adds view and function helpers to `SecurableObjects`.
   - Adds unit and integration test coverage.
   
   ### Why are the changes needed?
   
   The Java client exposes role operations through metadata objects, but the 
Python client does not provide the equivalent API. This change brings the 
Python client into alignment with the Java client.
   
   Fix: #12464
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Python client users can call:
   
   ```python
   metadata_object.supports_roles().list_binding_role_names()
   ```
   
   The Python client also provides `SecurableObjects.of_view()` and 
`SecurableObjects.of_function()`.
   
   ### How was this patch tested?
   
   Added unit tests for the public APIs, client implementations, and securable 
object helpers.
   
   Added an integration test covering role bindings for metalakes, catalogs, 
schemas, tables, and filesets.


-- 
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]

Reply via email to