#NEWLINE# @ memoized . memoized_method #NEWLINE# def get_data( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# volume_id = self . kwargs [ 'volume_id' ] #NEWLINE# volume = cinder . volume_get ( self . request , volume_id ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# error_message = ( _ ( 'Unable to retrieve volume information for volume: "%s"' ) % volume_id ) #NEWLINE# exceptions . handle ( self . request , error_message , redirect = self . success_url ) #NEWLINE# #UNINDENT# return volume