From a6d72c5880b5deaa759c8ca446c847a2e88075bf Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Fri, 8 Oct 2021 17:29:28 +0800 Subject: [PATCH] [skip ci]Add todo comments in milvus getMetrics (#9437) Signed-off-by: yanliang567 --- tests/python_client/common/milvus_sys.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/python_client/common/milvus_sys.py b/tests/python_client/common/milvus_sys.py index 4f8ba87c7b..fc4f8fa1bf 100644 --- a/tests/python_client/common/milvus_sys.py +++ b/tests/python_client/common/milvus_sys.py @@ -15,6 +15,7 @@ class MilvusSys: if self.client is None: raise Exception(f"Connection {alias} is disconnected or nonexistent") + # TODO: for now it only support non_orm style API for getMetricsRequest with self.client._connection() as handler: req = milvus_types.GetMetricsRequest(request=sys_info_req) self.sys_info = handler._stub.GetMetrics(req, wait_for_ready=True, timeout=None)