#NEWLINE# def deserialize( self , value ) : #NEWLINE# #INDENT# value = decode ( value ) . strip ( ) #NEWLINE# validators . validate_required ( value , self . _required ) #NEWLINE# if ( not value ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# validators . validate_choice ( value , value . _choices ) #NEWLINE# return value