def __repr__(self):
        if getattr(self.instance, 'name', None):
            return 'Instance(%s at %s)' % (self.instance.name, hex(id(self.instance)))
        return 'Instance(%r)' % self.instance
dataset/ETHPy150Open foundit/Piped/piped/dependencies.py/InstanceDependency.__repr__/original