code: def table_to_intermediary(table):
      
      return Table(
          name=table.fullname,
          columns=[column_to_intermediary(col) for col in table.c._data.values()]
      )
docs: Transform an SQLAlchemy Table object to it's intermediary representation.