class_docstr: Wrapper to interact with the Hive Metastore.
  
  :param metastore_conn_id: reference to the
      :ref: `metastore thrift service connection id <howto/connection:hive_metastore>`.
class_docstr_tok: ["Wrapper","to","interact","with","the","Hive","Metastore",".",":","param","metastore_conn_id",":","reference","to","the",":","ref",":","`","metastore","thrift","service","connection","id","<","howto\/connection",":","hive_metastore",">","`","."]
docstr: Get a metastore table object.
docstr_tok: ["Get","a","metastore","table","object","."]
code: def get_tables(self, db: str, pattern: str = "*") -> Any:
      """Get a metastore table object."""
      with self.metastore as client:
          tables = client.get_tables(db_name=db, pattern=pattern)
          return client.get_table_objects_by_name(db, tables)
  
imports: from __future__ import annotations
  import contextlib
  import os
  import re
  import socket
  import subprocess
  import time
  import warnings
  from tempfile import NamedTemporaryFile, TemporaryDirectory
  from typing import TYPE_CHECKING, Any, Iterable, Mapping
  from airflow.exceptions import AirflowProviderDeprecationWarning
  import csv
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.providers.common.sql.hooks.sql import DbApiHook
  from airflow.security import utils
  from airflow.utils.helpers import as_flattened_list
  from airflow.utils.operator_helpers import AIRFLOW_VAR_NAME_FORMAT_MAPPING
label_desc: Use image node_id 10 for calling the HiveMetastoreHook obj's underlying member method code with example usage: obj.get_tables(db, pattern) and returns: client