[skip ci]New property get node by node type (#8730)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
yanliang567 2021-09-28 10:38:03 +08:00 committed by GitHub
parent 9450d2e941
commit 0b99da9301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,3 +72,7 @@ class MilvusSys:
def nodes(self):
"""get all the nodes in Milvus deployment"""
return json.loads(self.sys_info.response).get('nodes_info')
@property
def get_nodes_by_type(self, node_type=None):
return NotImplementedError