class_docstr: run insert and get
class_docstr_tok: ["run","insert","and","get"]
code: def prepare(self, **case_param):
      collection_name = case_param["collection_name"]
      dimension = case_param["dimension"]
      vector_type = case_param["vector_type"]
      other_fields = case_param["other_fields"]
      self.milvus.set_collection(collection_name)
      if self.milvus.exists_collection():
          logger.debug("Start drop collection")
          self.milvus.drop()
          time.sleep(utils.DELETE_INTERVAL_TIME)
      self.milvus.create_collection(
          dimension, data_type=vector_type, other_fields=other_fields
      )
      self.insert(
          self.milvus,
          collection_name,
          case_param["data_type"],
          dimension,
          case_param["collection_size"],
          case_param["ni_per"],
      )
      start_time = time.time()
      self.milvus.flush()
      flush_time = round(time.time() - start_time, 2)
      logger.debug({"collection count": self.milvus.count()})
      logger.debug({"flush_time": flush_time})
      logger.debug("Start load collection")
      self.milvus.load_collection(timeout=1200)
      logger.debug("Load collection end")
  
file_path: milvus/tests/benchmark/milvus_benchmark/runners/get.py
imports: import time
  import copy
  import logging
  from milvus_benchmark import parser
  from milvus_benchmark.runners import utils
  from milvus_benchmark.runners.base import BaseRunner
label_desc: Use image node_id 2 for calling the InsertGetRunner obj's underlying member method code with example usage: obj.prepare() without return types