def __repr__(self):
    return '<CustomTargetIndex: {!r}[{}]>'.format(self.target, self.target.get_outputs().index(self.output))
def __repr__(self):
    return '<CustomTargetIndex: {!r}[{}]>'.format(self.target, self.target.get_outputs().index(self.output))