def Column(*args, **kw):
 test_opts = dict([(k, kw.pop(k)) for k in list(kw) if k.startswith('test_')])
 if config.requirements.foreign_key_ddl.predicate(config):
  args = [arg for arg in args if (not isinstance(arg, schema.ForeignKey))]
 col = schema.Column(*args, **kw)
 if (('test_needs_autoincrement' in test_opts) and kw.get('primary_key', False)):
  col.info['test_needs_autoincrement'] = True
  if exclusions.against(config._current, 'firebird', 'oracle'):
   def add_seq(c, tbl):
    c._init_items(schema.Sequence(_truncate_name(config.db.dialect, (((tbl.name + '_') + c.name) + '_seq')), optional=True))
   event.listen(col, 'after_parent_attach', add_seq, propagate=True)
 return col

def Column ( * args , ** kw ) : test_opts = dict ( [ ( k , kw . pop ( k ) ) for k in list ( kw ) if k . startswith ( 'test_' ) ] ) if config . requirements . foreign_key_ddl . predicate ( config ) : args = [ arg for arg in args if ( not isinstance ( arg , schema . ForeignKey ) ) ] col = schema . Column ( * args , ** kw ) if ( ( 'test_needs_autoincrement' in test_opts ) and kw . get ( 'primary_key' , False ) ) : col . info [ 'test_needs_autoincrement' ] = True if exclusions . against ( config . _current , 'firebird' , 'oracle' ) : def add_seq ( c , tbl ) : c . _init_items ( schema . Sequence ( _truncate_name ( config . db . dialect , ( ( ( tbl . name + '_' ) + c . name ) + '_seq' ) ) , optional = True ) ) event . listen ( col , 'after_parent_attach' , add_seq , propagate = True ) return col
a schema .