From 52f8f6ed56e8ae148de590aa7c9e6d69b764e424 Mon Sep 17 00:00:00 2001 From: lixinguo Date: Mon, 11 Mar 2024 18:51:17 +0800 Subject: [PATCH] fix: rename_collection not apply in current db Signed-off-by: lixinguo --- pymilvus/orm/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymilvus/orm/utility.py b/pymilvus/orm/utility.py index 4f522e7bf..7714d2615 100644 --- a/pymilvus/orm/utility.py +++ b/pymilvus/orm/utility.py @@ -491,7 +491,7 @@ def drop_collection(collection_name: str, timeout: Optional[float] = None, using def rename_collection( old_collection_name: str, new_collection_name: str, - new_db_name: str = "default", + new_db_name: str = "", timeout: Optional[float] = None, using: str = "default", ):