def __repr__(self):
        if self.__class__.__name__ != Payload.__name__:
            # only show PayloadType if we're using this base class
            return '<%s ID=%r UUID=%r>' % (self.__class__.__name__, self.payload['PayloadIdentifier'], self.payload['PayloadUUID'])
        else:
            return '<%s Type=%r ID=%r UUID=%r>' % (self.__class__.__name__, self.payload['PayloadType'], self.payload['PayloadIdentifier'], self.payload['PayloadUUID'])
dataset/ETHPy150Open jessepeterson/commandment/commandment/profiles/__init__.py/Payload.__repr__/original