From 0954fdd6753767a59b09ab7e031e072f03395517 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Thu, 16 Mar 2023 11:26:40 +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 6bf7a81..1fb09e8 100644 --- a/milvus_client.py +++ b/milvus_client.py @@ -97,9 +97,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