code: def get_ts_pipeline(window_size):
      """Function return pipeline with lagged transformation in it"""
      node_lagged = PipelineNode("lagged")
      node_lagged.parameters = {"window_size": window_size}
  
      node_final = PipelineNode("ridge", nodes_from=[node_lagged])
      pipeline = Pipeline(node_final)
      return pipeline
  
file_path: FEDOT/test/unit/data_operations/test_data_operation_params.py
imports: from copy import copy
  import numpy
  import pandas
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 1 for calling a global function with example usage: get_ts_pipeline(window_size) and returns: pipeline