code: def set_parameter(self, name, value):
          
          # set the furecast until variable to None if necessary
          if name == "valuesToForecast":
              self._forecastUntil = None
  
          # continue with the parents implementation
          return super(BaseForecastingMethod, self).set_parameter(name, value)
docs: Sets a parameter for the BaseForecastingMethod.
  
          :param string name:    Name of the parameter.
          :param numeric value:    Value of the parameter.