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: Get the list of tables in the Weaviate database.
docstr_tok: ["Get","the","list","of","tables","in","the","Weaviate","database","."]
code: def get_tables(self) -> HandlerResponse:
      """
      Get the list of tables in the Weaviate database.
      """
      query_tables = self._client.schema.get()
      tables = []
      if query_tables:
          tables = [table["class"] for table in query_tables["classes"]]
      table_name = pd.DataFrame(
          columns=["table_name"],
          data=tables,
      )
      return Response(
          resp_type=RESPONSE_TYPE.TABLE, data_frame=table_name
      )
  
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 16 for calling the WeaviateDBHandler obj's underlying member method code with example usage: obj.get_tables() and returns: Response