def concepts(items=items):
 if isinstance(items, string_types):
  items = (items,)
 rels = [item_metadata[r] for r in items]
 concept_map = process_bundle(rels)
 return concept_map.values()

def concepts ( items = items ) : if isinstance ( items , string_types ) : items = ( items , ) rels = [ item_metadata [ r ] for r in items ] concept_map = process_bundle ( rels ) return concept_map . values ( )
build a list of concepts corresponding to the relation names in items .