mirror of https://github.com/milvus-io/milvus.git
Add get_query_segment_info utility wrapper (#11447)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/11461/head
parent
9f1b8dc54f
commit
fa6b9f89da
|
@ -14,6 +14,14 @@ class ApiUtilityWrapper:
|
|||
|
||||
ut = utility
|
||||
|
||||
def get_query_segment_info(self, collection_name, timeout=None, using="default", check_task=None, check_items=None):
|
||||
timeout = TIMEOUT if timeout is None else timeout
|
||||
func_name = sys._getframe().f_code.co_name
|
||||
res, is_succ = api_request([self.ut.get_query_segment_info, collection_name, timeout, using])
|
||||
check_result = ResponseChecker(res, func_name, check_task, check_items, is_succ,
|
||||
collection_name=collection_name, timeout=timeout, using=using).run()
|
||||
return res, check_result
|
||||
|
||||
def loading_progress(self, collection_name, partition_names=None,
|
||||
using="default", check_task=None, check_items=None):
|
||||
func_name = sys._getframe().f_code.co_name
|
||||
|
|
Loading…
Reference in New Issue