[skip ci] Add new func of update file (#11411)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/11417/head
wt 2021-11-08 13:09:21 +08:00 committed by GitHub
parent 5439280206
commit f22247564e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

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