mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Update comments on client file (#14682)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/14688/head^2
parent
738394573e
commit
35612881e3
|
@ -254,9 +254,9 @@ class MilvusClient(object):
|
||||||
status = self._milvus.compact(tmp_collection_name)
|
status = self._milvus.compact(tmp_collection_name)
|
||||||
self.check_status(status)
|
self.check_status(status)
|
||||||
|
|
||||||
# only support "in" in expr
|
|
||||||
@time_wrapper
|
@time_wrapper
|
||||||
def get(self, ids, collection_name=None, timeout=None):
|
def get(self, ids, collection_name=None, timeout=None):
|
||||||
|
""" only support "in" in expr """
|
||||||
tmp_collection_name = self._collection_name if collection_name is None else collection_name
|
tmp_collection_name = self._collection_name if collection_name is None else collection_name
|
||||||
# res = self._milvus.get(tmp_collection_name, ids, output_fields=None, partition_names=None)
|
# res = self._milvus.get(tmp_collection_name, ids, output_fields=None, partition_names=None)
|
||||||
ids_expr = "id in %s" % (str(ids))
|
ids_expr = "id in %s" % (str(ids))
|
||||||
|
|
Loading…
Reference in New Issue