mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add new func of update file (#11411)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/11417/head
parent
5439280206
commit
f22247564e
|
@ -157,6 +157,15 @@ def dict_update(source, target):
|
|||
return target
|
||||
|
||||
|
||||
def update_dict_value(server_resource, values_dict):
|
||||
if not isinstance(server_resource, dict) or not isinstance(values_dict, dict):
|
||||
return values_dict
|
||||
|
||||
target = dict_update(server_resource, values_dict)
|
||||
|
||||
return target
|
||||
|
||||
|
||||
def search_param_analysis(vector_query, filter_query):
|
||||
""" Search parameter adjustment, applicable pymilvus version >= 2.0.0rc7.dev24 """
|
||||
|
||||
|
|
Loading…
Reference in New Issue