class_docstr: The model template for Multistage Forecast Estimator.
class_docstr_tok: ["The","model","template","for","Multistage","Forecast","Estimator","."]
docstr: The init function.
  
  The estimator parameters in init is just for compatibility.
  It does not affect the results.
docstr_tok: ["The","init","function",".","The","estimator","parameters","in","init","is","just","for","compatibility",".","It","does","not","affect","the","results","."]
code: def __init__(
      self,
      constants: MultistageForecastTemplateConstants = MultistageForecastTemplateConstants,
      # The parameters here don't matter. They are set for compatibility.
      estimator: BaseForecastEstimator = MultistageForecastEstimator(
          forecast_horizon=1, model_configs=[]
      ),
  ):
      """The init function.
  
      The estimator parameters in init is just for compatibility.
      It does not affect the results.
      """
      super().__init__(estimator=estimator)
      self._constants = constants()
  
imports: from itertools import product
  from typing import Dict
  from typing import List
  from typing import Type
  import pandas
  from greykite.common import constants
  from greykite.common.logging import LoggingLevelEnum
  from greykite.common.logging import log_message
  from greykite.common.python_utils import unique_in_list
  from greykite.common.python_utils import update_dictionaries
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.autogen.forecast_config import MetadataParam
  from greykite.framework.templates.base_template import BaseTemplate
  from greykite.framework.templates.multistage_forecast_template_config import MultistageForecastTemplateConfig
  from greykite.framework.templates.multistage_forecast_template_config import MultistageForecastTemplateConstants
  from greykite.sklearn.estimator.base_forecast_estimator import BaseForecastEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastModelConfig
label_desc: Use image node_id 1 to create a new MultistageForecastTemplate object from inherited base classes: BaseTemplate with example: obj = MultistageForecastTemplate(constants, estimator)