#NEWLINE# @ memoized . memoized_method #NEWLINE# def get_object( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return api . keystone . mapping_get ( redirect . request , self . kwargs [ 'mapping_id' ] ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# redirect = reverse ( 'horizon:identity:mappings:index' ) #NEWLINE# exceptions . handle ( self . request , _ ( 'Unable to update mapping.' ) , redirect = redirect )