(res_dict)
return result
Summarizes the name of resources per resource type.
Summarizes the name of resources per resource type.
Summarizes the name of resources per resource type .
def SummarizeResources(res_dict):
  """Summarizes the name of resources per resource type."""
  result = {}
  for res in res_dict:
    result.setdefault(res['type'], []).append(res['name'])
  return result
def SummarizeResources ( res_dict ) : result = { } for res in res_dict : result . setdefault ( res [ 'type' ] , [ ] ) . append ( res [ 'name' ] ) return result