From 9ac4deede701ba7e9787a099f37ebe844e5b5fed Mon Sep 17 00:00:00 2001 From: Filip Haltmayer Date: Mon, 22 May 2023 16:23:04 -0700 Subject: [PATCH] f Signed-off-by: Filip Haltmayer --- pymilvus/orm/connections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymilvus/orm/connections.py b/pymilvus/orm/connections.py index 917a75e65..e08c5d5c7 100644 --- a/pymilvus/orm/connections.py +++ b/pymilvus/orm/connections.py @@ -318,7 +318,7 @@ def with_config(config: Tuple) -> bool: # Make sure passed in None doesnt break user = '' if user is None else str(user) - user = '' if password is None else str(password) + password = '' if password is None else str(password) # 1st Priority: connection from params if with_config(config):