code: def test_table_model(session: Session) -> None:
      """
      Test basic attributes of a ``Table``.
      """
      from superset.columns.models import Column
      from superset.models.core import Database
      from superset.tables.models import Table
  
      engine = session.get_bind()
      Table.metadata.create_all(engine)  # pylint: disable=no-member
  
      table = Table(
          name="my_table",
          schema="my_schema",
          catalog="my_catalog",
          database=Database(
              database_name="my_database", sqlalchemy_uri="test://"
          ),
          columns=[
              Column(
                  name="ds",
                  type="TIMESTAMP",
                  expression="ds",
              )
          ],
      )
      session.add(table)
      session.flush()
  
      assert table.id == 1
      assert table.uuid is not None
      assert table.database_id == 1
      assert table.catalog == "my_catalog"
      assert table.schema == "my_schema"
      assert table.name == "my_table"
      assert [column.name for column in table.columns] == ["ds"]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_table_model(session) without return types