code: def tables(self) -> set[Table]:
      if not self._tables:
          for statement in self._parsed:
              self._extract_from_token(statement)
  
          self._tables = {
              table
              for table in self._tables
              if str(table) not in self._alias_names
          }
      return self._tables
  
imports: import logging
  import re
  from collections.abc import Iterator
  from dataclasses import dataclass
  from typing import Any, cast, Optional
  from urllib import parse
  import sqlparse
  from sqlalchemy import and_
  from sqlparse import keywords
  from sqlparse.lexer import Lexer
  from sqlparse.sql import Identifier, IdentifierList, Parenthesis, remove_quotes, Token, TokenList, Where
  from sqlparse.tokens import Comment, CTE, DDL, DML, Keyword, Name, Punctuation, String, Whitespace, Wildcard
  from sqlparse.utils import imt
  from superset.exceptions import QueryClauseValidationException
  from superset.utils.backports import StrEnum
label_desc: Use image node_id 2 for calling the ParsedQuery obj's underlying member method code with example usage: obj.tables() and returns: self