[skip ci] Add comments of client file on benchmark (#9351)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/9353/head
wt 2021-10-06 21:10:03 +08:00 committed by GitHub
parent adbdfcbce2
commit 50e862d41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)