def expire(self):
        self.expiration_date = datetime.utcnow().date() - timedelta(days=1)
        self.save()
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/models.py/SelfRegistrationInvitation.expire/original