#NEWLINE# @ db_api . serialize #NEWLINE# def task_result_create( self , task_uuid , key , data ) : #NEWLINE# #INDENT# result = models . TaskResult ( ) #NEWLINE# result . update ( { #NEWLINE# #INDENT# 'task_uuid' : task_uuid , #NEWLINE# 'key' : key , #NEWLINE# 'data' : data , #NEWLINE# #UNINDENT# } ) #NEWLINE# result . save ( ) #NEWLINE# return result