From c8f81f1b58be399a3aaeaa0683949d36140c6328 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Thu, 16 Mar 2023 15:47:37 +0800 Subject: [PATCH] Update del Signed-off-by: shiyu22 --- milvus_client.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/milvus_client.py b/milvus_client.py index a84d36e..4f07a85 100644 --- a/milvus_client.py +++ b/milvus_client.py @@ -51,9 +51,9 @@ class MilvusClient(PyOperator): def shared_type(self): return SharedType.NotShareable - def __del__(self): - if connections.has_connection(self._connect_name): - try: - connections.disconnect(self._connect_name) - except: - pass + # def __del__(self): + # if connections.has_connection(self._connect_name): + # try: + # connections.disconnect(self._connect_name) + # except: + # pass