Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/milvus-io/milvus into 231…
Browse files Browse the repository at this point in the history
…2-import-debug
  • Loading branch information
bigsheeper committed Jan 29, 2024
2 parents 68da88e + f92edc6 commit 75c1265
Show file tree
Hide file tree
Showing 5 changed files with 1,238 additions and 118 deletions.
13 changes: 13 additions & 0 deletions tests/python_client/base/high_level_api_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,17 @@ def list_aliases(self, client, timeout=None, check_task=None, check_items=None,
check_result = ResponseChecker(res, func_name, check_task,
check_items, check,
**kwargs).run()
return res, check_result

@trace()
def using_database(self, client, db_name, timeout=None, check_task=None, check_items=None, **kwargs):
timeout = TIMEOUT if timeout is None else timeout
kwargs.update({"timeout": timeout})

func_name = sys._getframe().f_code.co_name
res, check = api_request([client.using_database, db_name], **kwargs)
check_result = ResponseChecker(res, func_name, check_task,
check_items, check,
db_name=db_name,
**kwargs).run()
return res, check_result
Loading

0 comments on commit 75c1265

Please sign in to comment.