def __repr__(self):
    """Return a string representation."""
    parts = []
    parts.append('definition=%r' % self.definition)
    parts.append('state=%r' % self.state)
    parts.append('id=%d' + self.id)
    return '%s(%s)' % (self.__class__.__name__, ', '.join(parts))
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/IndexState.__repr__/operator `%` -> `+`