#NEWLINE# def process_response( self , req , resp , resource ) : #NEWLINE# #INDENT# if ( 'result' not in resource . context ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# resp . body = json . dumps ( req . context [ 'result' ] )