def _FormatMetadata(self, metadata):
    return ' '.join('{0}="{1}"'.format(k, v)
                    for k, v in sorted(metadata.iteritems()))
Format 'metadata' as space-delimited key="value" pairs.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/publisher.py/PrettyPrintStreamPublisher._FormatMetadata