code: def create_predictors(y):  # pragma: no cover
      """
      Create first 4 lags of a time series, used in ForecasterAutoregCustom.
      """
  
      lags = y[-1:-5:-1]
  
      return lags
  
imports: import re
  import pytest
  import numpy
  import pandas
  import sys
  from sklearn.ensemble import RandomForestRegressor
  from sklearn.linear_model import Ridge
  from sklearn.metrics import mean_absolute_error
  from skforecast.ForecasterAutoreg import ForecasterAutoreg
  from skforecast.ForecasterAutoregCustom import ForecasterAutoregCustom
  from skforecast.model_selection import backtesting_forecaster
  from skforecast.model_selection.model_selection import _bayesian_search_optuna
  import optuna
  from optuna.samplers import TPESampler
  from tqdm import tqdm
  from functools import partialmethod
  from .fixtures_model_selection import y
label_desc: Use image node_id 1 for calling a global function with example usage: create_predictors(y) and returns: lags