Skip to content

Commit

Permalink
Remove unused code for milvus client (#1770)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 committed Nov 1, 2023
1 parent 16e2758 commit 07f4bda
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pymilvus/milvus_client/milvus_client.py
Expand Up @@ -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",
)
Expand Down

0 comments on commit 07f4bda

Please sign in to comment.