#NEWLINE# def store_async_result( async_id , async_result ) : #NEWLINE# #INDENT# "Persist the Async's result to the datastore." #NEWLINE# logging . debug ( 'Storing result for %s' , async_id ) #NEWLINE# key = FuriousAsyncMarker ( id = async_id , result = json . dumps ( async_result . to_dict ( ) ) , status = async_result . status ) . put ( ) #NEWLINE# logging . debug ( 'Setting Async result %s using marker: %s.' , async_result , async_id )