code: def test_deseasonalizer_in_pipeline():
      """Test deseasonalizer in pipeline, see issue #3267."""
      from sktime.datasets import load_airline
      from sktime.forecasting.compose import TransformedTargetForecaster
      from sktime.forecasting.theta import ThetaForecaster
      from sktime.transformations.series.detrend import Deseasonalizer
  
      all_df = load_airline().to_frame()
  
      model = TransformedTargetForecaster(
          [
              (
                  "deseasonalize",
                  Deseasonalizer(model="additive", sp=12),
              ),
              ("forecast", ThetaForecaster()),
          ]
      )
      train_df = all_df["1949":"1950"]
      model.fit(train_df)
      model.update(y=all_df["1951":"1951"])
  
file_path: sktime/sktime/transformations/series/detrend/tests/test_deseasonalise.py
imports: import numpy
  import pytest
  from sktime.forecasting.tests._config import TEST_SPS
  from sktime.split import temporal_train_test_split
  from sktime.transformations.series.detrend import Deseasonalizer
  from sktime.utils._testing.forecasting import make_forecasting_problem
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 5 for calling a global function with example usage: test_deseasonalizer_in_pipeline() without return types