code: def ts_polyfit_pipeline(degree):
      """
      Return pipeline with the following structure:
  
      .. image:: img_ts_pipelines/ts_polyfit_pipeline.png
        :width: 55%
  
      Where polyfit - Polynomial interpolation
      """
      pipeline = (
          PipelineBuilder()
          .add_node("polyfit", params={"degree": degree})
          .build()
      )
      return pipeline
  
file_path: FEDOT/examples/simple/time_series_forecasting/ts_pipelines.py
imports: from fedot.core.pipelines.pipeline_builder import PipelineBuilder
label_desc: Use image node_id 5 for calling a global function with example usage: ts_polyfit_pipeline(degree) and returns: pipeline