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

   ### What changes were proposed in this pull request?
   
   This PR adds Python client support for tag operations on views and functions.
   
   Changes include:
   
   - Add default `supports_tags()` methods to the `View` and `Function` API 
classes.
   - Extend `GenericView` and `GenericFunction` with tag operations backed by 
`MetadataObjectTagOperations`.
   - Return tag-capable wrappers from Python client view and function 
operations.
   - Add Python client unit and integration tests for view/function tag support.
   
   ### Why are the changes needed?
   
   #11844 enables server-side tag association for `VIEW` and `FUNCTION` 
metadata objects. The Python client should expose the same capability so users 
can manage tags for views and functions through the typed client API, 
consistent with other tag-capable metadata objects.
   
   Fix: #12181
   Related: #11844
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes.
   
   Python client users can now call `supports_tags()` on `View` and `Function` 
objects returned by the client, for example:
   
   ```python
   view.supports_tags().associate_tags(...)
   function.supports_tags().list_tags()
   ```
   
   ### How was this patch tested?
   
   - `./gradlew :clients:client-python:black :clients:client-python:pylint 
:clients:client-python:unitTests`
   - `./gradlew :clients:client-python:integrationTest`


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