Abyss-lord commented on code in PR #10761:
URL: https://github.com/apache/gravitino/pull/10761#discussion_r3091813360


##########
clients/client-python/gravitino/client/metadata_object_role_operations.py:
##########
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from gravitino.api.authorization.supports_roles import SupportsRoles
+from gravitino.api.metadata_object import MetadataObject
+from gravitino.dto.responses.name_list_response import NameListResponse
+from gravitino.exceptions.handlers.role_error_handler import (
+    ROLE_ERROR_HANDLER,
+)
+from gravitino.rest.rest_utils import encode_string
+from gravitino.utils.http_client import HTTPClient
+
+
+class MetadataObjectRoleOperations(SupportsRoles):
+    """
+    Represents a response for a list of entity names.
+    """
+
+    ROLE_REQUEST_PATH = "api/metalakes/{}/objects/{}/{}/roles"

Review Comment:
   fix



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