class_docstr: This handler handles connection and execution of the Weaviate statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Weaviate","statements","."]
docstr: Close the database connection.
docstr_tok: ["Close","the","database","connection","."]
code: def disconnect(self):
      """Close the database connection."""
  
      if not self.is_connected:
          return
      if self._embedded_options:
          self._client._connection.embedded_db.stop()
          del self._embedded_options
      del self._client
      self._embedded_options = None
      self._client = None
      self.is_connected = False
  
imports: from collections import OrderedDict
  from datetime import datetime
  from typing import List, Optional
  import weaviate
  from weaviate.embedded import EmbeddedOptions
  import pandas
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, TableField, VectorStoreHandler
  from mindsdb.utilities import log
  from weaviate.util import generate_uuid5
label_desc: Use image node_id 5 for calling the WeaviateDBHandler obj's underlying member method code with example usage: obj.disconnect() without return types