#NEWLINE# def validate( self , table ) : #NEWLINE# #INDENT# before_column = table . columns [ self . _before_column_name ] #NEWLINE# after_column = table . columns [ before_column . _after_column_name ] #NEWLINE# if ( not isinstance ( before_column . data_type , Number ) ) : #NEWLINE# #INDENT# raise DataTypeError ( 'PercentChange before column must contain Number data.' ) #NEWLINE# #UNINDENT# if ( not isinstance ( after_column . data_type , Number ) ) : #NEWLINE# #INDENT# raise DataTypeError ( 'PercentChange after column must contain Number data.' )