mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comments of client file on benchmark (#9351)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user