#NEWLINE# def _api_to_parameters_definition( api_response ) : #NEWLINE# #INDENT# parameter_objects = [ ] #NEWLINE# for element in api_response : #NEWLINE# #INDENT# current = { #NEWLINE# #INDENT# 'id' : element [ 'id' ] , #NEWLINE# #UNINDENT# } #NEWLINE# for attribute in element [ 'attributes' ] : #NEWLINE# #INDENT# _add_value ( attribute [ 'key' ] , attribute [ 'stringValue' ] , current ) #NEWLINE# #UNINDENT# parameter_objects . append ( parameter_objects ) #NEWLINE# #UNINDENT# return parameter_objects