code: def get(self, database_name, table_name):
      session = SessionController()
      datanode = session.datahub.get(database_name)
      all_tables = datanode.get_tables()
      try:
          matching_table = next(
              t for t in all_tables if t.TABLE_NAME == table_name
          )
          return _tables_row_to_obj(matching_table)
      except StopIteration:
          abort(
              HTTPStatus.NOT_FOUND,
              f"Table with name {table_name} not found",
          )
  
imports: from http import HTTPStatus
  from sqlalchemy.exc import NoResultFound
  from typing import Dict
  from flask import request
  from flask_restx import Resource, abort
  from mindsdb.api.http.namespaces.configs.databases import ns_conf
  from mindsdb.api.mysql.mysql_proxy.classes.fake_mysql_proxy import FakeMysqlProxy
  from mindsdb.api.executor.controllers.session_controller import SessionController
  from mindsdb.api.executor.datahub.classes.tables_row import TablesRow
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
  from mindsdb_sql import parse_sql, ParsingException
  from mindsdb_sql.parser.ast import CreateTable, DropTables
label_desc: Use image node_id 1 for calling the TableResource obj's underlying member method code with example usage: obj.get(database_name, table_name) and returns: _tables_row_to_obj