Skip to content

Commit

Permalink
Fix check DB wether available failed (#1496)
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper authored May 31, 2023
1 parent bdfcd7b commit 54d4d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/orm/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def remove_connection(self, alias: str):
self._alias.pop(alias, None)

# pylint: disable=too-many-statements
def connect(self, alias=Config.MILVUS_CONN_ALIAS, user="", password="", token="", db_name="", **kwargs):
def connect(self, alias=Config.MILVUS_CONN_ALIAS, user="", password="", db_name="", token="", **kwargs):
"""
Constructs a milvus connection and register it under given alias.
Expand Down

0 comments on commit 54d4d53

Please sign in to comment.