class_docstr: This handler handles connection and execution of the Teradata statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Teradata","statements","."]
docstr: List all tables in Teradata in the current database
docstr_tok: ["List","all","tables","in","Teradata","in","the","current","database"]
code: def get_tables(self) -> Response:
      """
      List all tables in Teradata in the current database
      """
  
      return self.native_query(
          str(
              text(
                  f"""
              SELECT DataBaseName,
                     TableName,
                     TableKind
              FROM DBC.TablesV
              WHERE DatabaseName = :database
              AND (TableKind = 'T'
                  OR TableKind = 'O'
                  OR TableKind = 'Q')
              """
              )
              .bindparams(
                  bindparam(
                      "database", value=self.database, type_=String
                  )
              )
              .compile(compile_kwargs={"literal_binds": True})
          )
      )
  
imports: from textwrap import dedent
  from collections import OrderedDict
  from pandas import DataFrame
  from sqlalchemy import String
  from sqlalchemy.sql import text, bindparam
  import teradatasql
  import teradatasqlalchemy.dialect
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
label_desc: Use image node_id 8 for calling the TeradataHandler obj's underlying member method code with example usage: obj.get_tables() and returns: self