From 029b2b0764bba71fb22eb77a8bf0fda7b94be3d9 Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Fri, 24 Sep 2021 14:14:10 +0800 Subject: [PATCH] [skip ci]Add comments in milvus systemInfo class (#8467) Signed-off-by: yanliang567 --- tests/python_client/common/milvus_sys.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/python_client/common/milvus_sys.py b/tests/python_client/common/milvus_sys.py index 225ed9a6f5..5ca5341ca3 100644 --- a/tests/python_client/common/milvus_sys.py +++ b/tests/python_client/common/milvus_sys.py @@ -45,6 +45,7 @@ class MilvusSys: @property def query_nodes(self): + """get all query nodes in Milvus deployment""" query_nodes = [] for node in self.nodes: if 'QueryNode' == node.get('infos').get('type'): @@ -53,6 +54,7 @@ class MilvusSys: @property def data_nodes(self): + """get all data nodes in Milvus deployment""" data_nodes = [] for node in self.nodes: if 'DataNode' == node.get('infos').get('type'): @@ -61,6 +63,7 @@ class MilvusSys: @property def index_nodes(self): + """get all index nodes in Milvus deployment""" index_nodes = [] for node in self.nodes: if 'IndexNode' == node.get('infos').get('type'):