code: def insert_flush(self):
      op = "insert_flush"
      # ids = [random.randint(1000000, 10000000) for _ in range(self.params[op]["ni_per"])]
      # X = [[random.random() for _ in range(self.op_info["dimension"])] for _ in range(self.params[op]["ni_per"])]
      entities = utils.generate_entities(
          self.op_info["collection_info"],
          self.values["X"][: self.params[op]["ni_per"]],
          self.values["ids"][: self.params[op]["ni_per"]],
      )
      self.client.insert(entities, log=False)
      self.client.flush(log=False)
  
file_path: milvus/tests/benchmark/milvus_benchmark/runners/locust_tasks.py
imports: import random
  import logging
  from locust import TaskSet, task
  from .None import utils
label_desc: Use image node_id 6 for calling the Tasks obj's underlying member method code with example usage: obj.insert_flush() without return types