(request, domain, app_id=None)
return response
We override restore because we have to supply our own
    user model (and have the domain in the url)
We override restore because we have to supply our own
    user model (and have the domain in the url)
We override restore because we have to supply our own user model ( and have the domain in the url )
def restore(request, domain, app_id=None):
    """
    We override restore because we have to supply our own
    user model (and have the domain in the url)
    """
    if rate_limit_restore(domain):
        return HttpTooManyRequests()

    response, timing_context = get_restore_response(
        domain, request.couch_user, app_id, **get_restore_params(request, domain))
    return response
def restore ( request , domain , app_id = None ) : if rate_limit_restore ( domain ) : return HttpTooManyRequests ( ) response , timing_context = get_restore_response ( domain , request . couch_user , app_id , * * get_restore_params ( request , domain ) ) return response