code: def test_sql_table() -> None:  # noqa: D
      sql_table = SqlTable(schema_name="foo", table_name="bar")
  
      assert sql_table.sql == "foo.bar"
      assert SqlTable.from_string("foo.bar") == sql_table
  
      json_serialized_table = sql_table.json()
      deserialized_table = SqlTable.parse_raw(json_serialized_table)
  
      assert sql_table == deserialized_table
  
imports: from __future__ import annotations
  import pytest
  from metricflow.dataflow.sql_table import SqlTable
label_desc: Use image node_id 1 for calling a global function with example usage: test_sql_table() without return types