def _fields_to_plaintext(link, colorize=False):
    colorize_keys = _colorize_keys if colorize else lambda x: x

    return colorize_keys(', ').join([
        field.name for field in link.fields if field.required
    ] + [
        field.name % '[%s]' for field in link.fields if not field.required
    ])
dataset/ETHPy150Open core-api/python-client/coreapi/codecs/coretext.py/_fields_to_plaintext/swapped operands of `%`