def GetLabelsFromDict(metadata):
  labels = []
  for k, v in metadata.iteritems():
    labels.append('|%s:%s|' % (k, v))
  return ','.join(labels)
Find a subclass by name.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/publisher.py/GetLabelsFromDict--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/persistent_archive/queries.py/find_subclass