docstr: Decorates task to inherit parameter value of `config_class`.
  
  * config_class: Inherit parameter value of this task to decorated task. Only parameter values exist in both tasks are inherited.
  * parameter_alias: Dictionary to map paramter names between config_class task and decorated task.
                     key: config_class's parameter name. value: decorated task's parameter name.
docstr_tok: ["Decorates","task","to","inherit","parameter","value","of","`","config_class","`",".","*","config_class",":","Inherit","parameter","value","of","this","task","to","decorated","task",".","Only","parameter","values","exist","in","both","tasks","are","inherited",".","*","parameter_alias",":","Dictionary","to","map","paramter","names","between","config_class","task","and","decorated","task",".","key",":","config_class","'s","parameter","name",".","value",":","decorated","task","'s","parameter","name","."]
code: def __init__(
      self,
      config_class: luigi.Config,
      parameter_alias: Optional[Dict[str, str]] = None,
  ):
      """
      Decorates task to inherit parameter value of `config_class`.
  
      * config_class: Inherit parameter value of this task to decorated task. Only parameter values exist in both tasks are inherited.
      * parameter_alias: Dictionary to map paramter names between config_class task and decorated task.
                         key: config_class's parameter name. value: decorated task's parameter name.
      """
  
      self._config_class: luigi.Config = config_class
      self._parameter_alias: Dict[str, str] = (
          parameter_alias if parameter_alias is not None else {}
      )
  
imports: from typing import Dict, Optional, Type
  import luigi
  import gokart
label_desc: Use image node_id 1 to create a new inherits_config_params object  with example: obj = inherits_config_params(config_class, parameter_alias)