#NEWLINE# def generate_confirmation_token( self , expiration = 3000 ) : #NEWLINE# #INDENT# s = Serializer ( current_app . config [ 'SECRET_KEY' ] , expiration ) #NEWLINE# return s . dumps ( { #NEWLINE# #INDENT# 'confirm' : self . id , #NEWLINE# #UNINDENT# } )