mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments of client file on benchmark (#9351)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9353/head
parent
adbdfcbce2
commit
50e862d41f
|
@ -157,6 +157,7 @@ class MilvusClient(object):
|
|||
|
||||
@time_wrapper
|
||||
def insert_flush(self, entities, _async=False, collection_name=None):
|
||||
# the method that included insert and flush
|
||||
tmp_collection_name = self._collection_name if collection_name is None else collection_name
|
||||
try:
|
||||
insert_res = self._milvus.insert(tmp_collection_name, entities)
|
||||
|
|
Loading…
Reference in New Issue