FANNG1 commented on code in PR #8214:
URL: https://github.com/apache/gravitino/pull/8214#discussion_r2290717099


##########
mcp-server/tests/unit/tools/mock_operation.py:
##########
@@ -235,3 +235,23 @@ async def run_job(self, job_template_name: str, 
job_config: dict) -> str:
 
     async def cancel_job(self, job_id: str) -> str:
         return f"mock_job_cancelled: {job_id}"
+
+
+class MockStatisticOperation(StatisticOperation):
+    async def list_of_statistics(
+        self, metalake_name: str, metadata_type: str, metadata_fullname: str
+    ) -> str:
+        return "mock_statistics"
+
+    # pylint: disable=R0917
+    async def list_statistic_for_partition(
+        self,
+        metalake_name: str,
+        metadata_type: str,
+        metadata_fullname: str,
+        from_partition_name: str,
+        to_partition_name: str,
+        from_inclusive: bool = True,
+        to_inclusive: bool = False,
+    ) -> str:
+        return "mock_statistics_for_partition"

Review Comment:
   same to above comment



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