'Overrides the active value for the given switch for the remainder of
this request (as this is not a context manager).
Note: The value is overridden in the request cache, not in the model.'

def override_for_request(self, switch_name, active=True):

    namespaced_switch_name = self._namespaced_name(switch_name)
    self._cached_switches[namespaced_switch_name] = active
    log.info(u"%sSwitch    '%s'    set    to    %s    for    request.", self.log_prefix, namespaced_switch_name, active)
