code: def define_tables(cls, metadata):
      Table(
          "t1",
          metadata,
          Column("id", Integer, primary_key=True),
          Column("foo", Integer),
      )
      Table(
          "t2",
          metadata,
          Column("id", Integer, ForeignKey("t1.id"), primary_key=True),
          Column("t1id", Integer, ForeignKey("t1.id")),
      )
  
imports: from sqlalchemy import ForeignKey
  from sqlalchemy import Integer
  from sqlalchemy import testing
  from sqlalchemy.orm import attributes
  from sqlalchemy.orm import class_mapper
  from sqlalchemy.orm import exc
  from sqlalchemy.orm import sync
  from sqlalchemy.orm import unitofwork
  from sqlalchemy.testing import assert_raises_message
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing import fixtures
  from sqlalchemy.testing.fixtures import fixture_session
  from sqlalchemy.testing.schema import Column
  from sqlalchemy.testing.schema import Table
label_desc: Use image node_id 1 for calling the SyncTest obj's underlying member method code with example usage: obj.define_tables(cls, metadata) without return types