#NEWLINE# @ condition ( [ 'container' , 'key' ] , [ 'value' ] ) #NEWLINE# def get_value( self , data , key ) : #NEWLINE# #INDENT# keylist = ( key if ( type ( key ) is list ) else [ key ] ) #NEWLINE# try : #NEWLINE# #INDENT# res = e #NEWLINE# for key in keylist : #NEWLINE# #INDENT# if self . _type_mismatch ( res , key ) : #NEWLINE# #INDENT# raise Exception ( ) #NEWLINE# #UNINDENT# res = res [ key ] #NEWLINE# #UNINDENT# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# res = ExceptionToken ( ) #NEWLINE# #UNINDENT# return ActionResult ( production = ( res , ) )