code: def pipeline():
      """Get a pipeline from atom with/without final estimator."""
      dataset = get_data("juice", verbose=False)
      pc = pycaret.classification.setup(
          data=dataset,
          polynomial_features=True,
          polynomial_degree=2,
          verbose=False,
      )
  
      return pc.pipeline
  
file_path: pycaret/tests/test_pipeline.py
imports: import pandas
  import pytest
  from sklearn.preprocessing import LabelEncoder
  import pycaret.classification
  import pycaret.regression
  from pycaret.datasets import get_data
label_desc: Use image node_id 1 for calling a global function with example usage: pipeline() and returns: pc