code: def define_tables(cls, metadata):
      from ... import Integer
      from ... import testing
      from ...schema import Column
      from ...schema import Computed
      from ...schema import Table
  
      Table(
          "computed_default_table",
          metadata,
          Column("id", Integer, primary_key=True),
          Column("normal", Integer),
          Column("computed_col", Integer, Computed("normal + 42")),
          Column("with_default", Integer, server_default="42"),
      )
  
      t = Table(
          "computed_column_table",
          metadata,
          Column("id", Integer, primary_key=True),
          Column("normal", Integer),
          Column("computed_no_flag", Integer, Computed("normal + 42")),
      )
  
      if testing.requires.schemas.enabled:
          t2 = Table(
              "computed_column_table",
              metadata,
              Column("id", Integer, primary_key=True),
              Column("normal", Integer),
              Column(
                  "computed_no_flag", Integer, Computed("normal / 42")
              ),
              schema=config.test_schema,
          )
  
      if testing.requires.computed_columns_virtual.enabled:
          t.append_column(
              Column(
                  "computed_virtual",
                  Integer,
                  Computed("normal + 2", persisted=False),
              )
          )
          if testing.requires.schemas.enabled:
              t2.append_column(
                  Column(
                      "computed_virtual",
                      Integer,
                      Computed("normal / 2", persisted=False),
                  )
              )
      if testing.requires.computed_columns_stored.enabled:
          t.append_column(
              Column(
                  "computed_stored",
                  Integer,
                  Computed("normal - 42", persisted=True),
              )
          )
          if testing.requires.schemas.enabled:
              t2.append_column(
                  Column(
                      "computed_stored",
                      Integer,
                      Computed("normal * 42", persisted=True),
                  )
              )
  
imports: from __future__ import annotations
  import itertools
  import random
  import re
  import sys
  import sqlalchemy
  from .base import TestBase
  from ..None import config
  from ..None import mock
  from ..assertions import eq_
  from ..assertions import ne_
  from ..util import adict
  from ..util import drop_all_tables_from_metadata
  from ...None import event
  from ...None import util
  from ...schema import sort_tables_and_constraints
  from ...sql import visitors
  from ...sql.elements import ClauseElement
label_desc: Use image node_id 2 for calling the ComputedReflectionFixtureTest obj's underlying member method code with example usage: obj.define_tables(cls, metadata) without return types