#NEWLINE# @ wsgi . extends #NEWLINE# def show( self , req , resp_obj , id ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# if soft_authorize ( context ) : #NEWLINE# #INDENT# db_flavor = req . get_db_flavor ( id ) #NEWLINE# self . _extend_flavor ( resp_obj . obj [ 'flavor' ] , context )