def __repr__(self):
        try:
            ContentTypeText = ContentType._VALUES_TO_NAMES[self.contentType]
        except __HOLE__:
            #print "*** Unknow Content Type", self.contentType
            ContentTypeText = self.contentType
        return 'LineMessage (contentType=%s, sender=%s, receiver=%s, msg="%s")' % (
                    ContentTypeText,
                    self.sender,
                    self.receiver,
                    self.text
                )
dataset/ETHPy150Open carpedm20/LINE/line/models.py/LineMessage.__repr__