diff --git a/pymilvus/milvus_client/milvus_client.py b/pymilvus/milvus_client/milvus_client.py index b377e504c..849fbb866 100644 --- a/pymilvus/milvus_client/milvus_client.py +++ b/pymilvus/milvus_client/milvus_client.py @@ -56,13 +56,9 @@ def __init__( logger.debug("tqdm not found") self.tqdm = lambda x, disable: x - self.uri = uri - self.timeout = timeout - self.conn = None - - self.default_search_params = None - - self._using = self._create_connection(uri, user, password, db_name, token, **kwargs) + self._using = self._create_connection( + uri, user, password, db_name, token, timeout=timeout, **kwargs + ) self.is_self_hosted = bool( utility.get_server_type(using=self._using) == "milvus", )