#NEWLINE# @ transaction_retry ( max_retries = 2 ) #NEWLINE# def store_result( self , taskset_id , result ) : #NEWLINE# #INDENT# 'Store the async result instance of a taskset.\n\n        :param taskset_id: task set id\n\n        :param result: The return value of the taskset\n\n        ' #NEWLINE# return self . update_or_create ( taskset_id = taskset_id , defaults = { #NEWLINE# #INDENT# 'result' : result , #NEWLINE# #UNINDENT# } )