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


##########
clients/client-python/tests/unittests/mock_base.py:
##########
@@ -29,13 +29,79 @@
 from gravitino.dto.audit_dto import AuditDTO
 from gravitino.dto.fileset_dto import FilesetDTO
 from gravitino.dto.metalake_dto import MetalakeDTO
+from gravitino.dto.model_dto import ModelDTO
 from gravitino.dto.schema_dto import SchemaDTO
 from gravitino.dto.tag_dto import TagDTO
 from gravitino.namespace import Namespace
 from gravitino.utils import Response
 from gravitino.utils.http_client import HTTPClient
 
 
+def build_schema_dto(
+    name: str = "demo_schema",
+    comment: str = "This is a demo model.",
+    properties: tp.Optional[dict[str, str]] = None,
+) -> SchemaDTO:
+    """
+    Build a schema DTO for testing.
+
+    Args:
+        name (str, optional): The name of the schema. Defaults to 
"demo_schema".
+        comment (str, optional): The comment for the schema. Defaults to "This 
is a demo model.".
+        properties (tp.Optional[dict[str, str]], optional): The properties for 
the schema.
+

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