#NEWLINE# @ wsgi . extends #NEWLINE# def show( self , req , resp_obj , id ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# if authorize ( image_cached ) : #NEWLINE# #INDENT# image_resp = resp_obj . obj [ 'image' ] #NEWLINE# image_cached = req . get_db_item ( 'images' , image_resp [ 'id' ] ) #NEWLINE# self . _extend_image ( image_resp , image_cached )