class_docstr: Represents a reference to a SQL table.
code: def from_string(sql_str: str) -> SqlTable:  # noqa: D
      sql_str_split = sql_str.split(".")
      if len(sql_str_split) == 2:
          return SqlTable(
              schema_name=sql_str_split[0], table_name=sql_str_split[1]
          )
      elif len(sql_str_split) == 3:
          return SqlTable(
              db_name=sql_str_split[0],
              schema_name=sql_str_split[1],
              table_name=sql_str_split[2],
          )
      raise RuntimeError(
          f"Invalid input for a SQL table, expected form '<schema>.<table>' or '<db>.<schema>.<table>' "
          f"but got: {sql_str}"
      )
  
file_path: metricflow/metricflow/dataflow/sql_table.py
imports: from __future__ import annotations
  from typing import Optional, Tuple, Union
  from dbt_semantic_interfaces.implementations.base import FrozenBaseModel, PydanticCustomInputParser, PydanticParseableValueType
label_desc: Use image node_id 2 for calling the SqlTable obj's underlying member method code with example usage: obj.from_string(sql_str) and returns: SqlTable, SqlTable