class_docstr: This handler handles connection and execution of the SurrealDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","SurrealDB","statements","."]
docstr: Get list of tables from the database that will be accessible.
  Returns:
      HandlerResponse
docstr_tok: ["Get","list","of","tables","from","the","database","that","will","be","accessible",".","Returns",":","HandlerResponse"]
code: def get_tables(self) -> Response:
      """
      Get list of tables from the database that will be accessible.
      Returns:
          HandlerResponse
      """
      conn = self.connect()
      # get table names
      tables = table_names(conn)
  
      # construct pandas dataframe
      df = pd.DataFrame(tables, columns=["table_name"])
  
      response = Response(RESPONSE_TYPE.TABLE, df)
      return response
  
imports: from collections import OrderedDict
  from typing import Optional
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from .utils.surreal_get_info import *
  import pysurrealdb
  import pandas
label_desc: Use image node_id 7 for calling the SurrealDBHandler obj's underlying member method code with example usage: obj.get_tables() and returns: response