#NEWLINE# @ converts ( 'databases.mysql.MSYear' , 'dialects.mysql.base.YEAR' ) #NEWLINE# def conv_MSYear( self , field_args , **extra ) : #NEWLINE# #INDENT# field_args [ 'validators' ] . append ( validators . NumberRange ( min = 1901 , max = 2155 ) ) #NEWLINE# return f . TextField ( ** field_args )