docstr: get milvus nodes by node type
docstr_tok: ["get","milvus","nodes","by","node","type"]
code: def get_nodes_by_type(self, node_type=None):
      """get milvus nodes by node type"""
      target_nodes = []
      if node_type is not None:
          for node in self.nodes:
              if (
                  str(node_type).lower()
                  == str(node.get("infos").get("type")).lower()
              ):
                  target_nodes.append(node)
      return target_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 11 for calling the MilvusSys obj's underlying member method code with example usage: obj.get_nodes_by_type(node_type) and returns: target_nodes