#NEWLINE# def statements_put( req_dict ) : #NEWLINE# #INDENT# auth = req_dict [ 'auth' ] #NEWLINE# stmt_responses = process_body ( [ req_dict [ 'body' ] ] , auth , req_dict [ 'headers' ] [ 'X-Experience-API-Version' ] , req_dict . get ( 'payload_sha2s' , None ) ) #NEWLINE# stmt_ids = [ stmt_tup [ 0 ] for stmt_tup in stmt_responses ] #NEWLINE# stmts_to_void = [ str ( stmt_tup [ 1 ] ) for stmt_tup in stmt_responses if stmt_tup [ 1 ] ] #NEWLINE# check_activity_metadata . delay ( stmt_ids ) #NEWLINE# if stmts_to_void : #NEWLINE# #INDENT# void_statements . delay ( stmts_to_void ) #NEWLINE# #UNINDENT# return HttpResponse ( 'No Content' , status = 204 )