#NEWLINE# @ util . dependencies ( 'sqlalchemy.sql.schema' ) #NEWLINE# def _set_table( self , schema , column , table ) : #NEWLINE# #INDENT# if self . native_enum : #NEWLINE# #INDENT# SchemaType . _set_table ( self , column , table ) #NEWLINE# #UNINDENT# if ( not self . create_constraint ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# e = schema . CheckConstraint ( type_coerce ( column , self ) . in_ ( self . enums ) , name = _defer_name ( self . name ) , _create_rule = util . portable_instancemethod ( self . _should_create_constraint ) , _type_bound = True ) #NEWLINE# assert ( e . table is table )