

def set_cached_webhook_secret(self, request_token, webhook_secret):
    client = get_redis_client()
    key = self.get_cache_key(request_token)
    client.set(key, webhook_secret)
    client.expire(key, (((7 * 24) * 60) * 60))

dataset/ETHPy150Open dimagi/commcare-hq/corehq/messaging/smsbackends/telerivet/views.py TelerivetSetupView.set_cached_webhook_secret/original