#NEWLINE# @ app . route ( '/providers' , methods = [ 'GET' ] ) #NEWLINE# def providers( ) : #NEWLINE# #INDENT# metadata = ProviderFactory . get_all_metadata ( ) #NEWLINE# metadata_list = [ ] #NEWLINE# for ( k , v ) in metadata . iteritems ( ) : #NEWLINE# #INDENT# v [ 'name' ] = k #NEWLINE# metadata_list . append ( v ) #NEWLINE# #UNINDENT# return json_resp_from_thing ( metadata_list )