#NEWLINE# @ transaction . commit_on_success #NEWLINE# def save( self , uuid , value ) : #NEWLINE# #INDENT# if settings . GREENQUEUE_IGNORE_RESULT : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# _val = pickle . dumps ( value ) #NEWLINE# tr = TaskResult . objects . create ( uuid = uuid , result = base64 . b64encode ( _val ) ) #NEWLINE# return tr