code: def __post_init__(self):
      if self.forecast_length < 1:
          raise ValueError("Forecast length should be more then 0")
  
file_path: FEDOT/fedot/core/repository/tasks.py
imports: from dataclasses import dataclass
  from typing import Any, List, Optional
  from golem.utilities.data_structures import ComparableEnum
label_desc: Use image node_id 1 for calling the TsForecastingParams obj's underlying member method code with example usage: obj.__post_init__() without return types