def format_labels(labels):
if labels:<EOL><INDENT>return '<STR_LIT:U+002C>'.join(['<STR_LIT>'.format(k, v) for k, v in labels.items()])<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
Convert a dictionary of labels into a comma separated string