docstr: get all the nodes in Milvus deployment
docstr_tok: ["get","all","the","nodes","in","Milvus","deployment"]
code: def nodes(self):
      """get all the nodes in Milvus deployment"""
      all_nodes = json.loads(self.sys_info.response).get("nodes_info")
      online_nodes = [
          node
          for node in all_nodes
          if node["infos"]["has_error"] is False
      ]
      return online_nodes
  
file_path: milvus/tests/python_client/common/milvus_sys.py
imports: import ujson
  import json
  from pymilvus.grpc_gen import milvus_pb2
  from pymilvus import connections
label_desc: Use image node_id 10 for calling the MilvusSys obj's underlying member method code with example usage: obj.nodes() and returns: online_nodes