code: def helper_test_encoders_settings(model, example: str):
      if example == "past":
          assert model.encoders.takes_past_covariates
          assert len(model.encoders.past_encoders) == 1
          assert isinstance(
              model.encoders.past_encoders[0],
              PastDatetimeAttributeEncoder,
          )
          assert not model.encoders.takes_future_covariates
          assert len(model.encoders.future_encoders) == 0
      elif example == "future":
          assert not model.encoders.takes_past_covariates
          assert len(model.encoders.past_encoders) == 0
          assert model.encoders.takes_future_covariates
          assert len(model.encoders.future_encoders) == 1
          assert isinstance(
              model.encoders.future_encoders[0], FutureCyclicEncoder
          )
      else:  # "mixed"
          assert model.encoders.takes_past_covariates
          assert len(model.encoders.past_encoders) == 1
          assert isinstance(
              model.encoders.past_encoders[0],
              PastDatetimeAttributeEncoder,
          )
          assert model.encoders.takes_future_covariates
          assert len(model.encoders.future_encoders) == 1
          assert isinstance(
              model.encoders.future_encoders[0], FutureCyclicEncoder
          )
  
imports: import copy
  import functools
  import itertools
  import math
  from unittest.mock import patch
  import numpy
  import pandas
  import pytest
  from sklearn.ensemble import HistGradientBoostingRegressor, RandomForestRegressor
  from sklearn.linear_model import LinearRegression
  import darts
  from darts import TimeSeries
  from darts.dataprocessing.encoders import FutureCyclicEncoder, PastDatetimeAttributeEncoder
  from darts.logging import get_logger
  from darts.metrics import mae, rmse
  from darts.models import CatBoostModel, LightGBMModel, LinearRegressionModel, NotImportedModule, RandomForest, RegressionModel, XGBModel
  from darts.utils import timeseries_generation
  from darts.utils.multioutput import MultiOutputRegressor
label_desc: Use image node_id 29 for calling the TestRegressionModels obj's underlying member method code with example usage: obj.helper_test_encoders_settings(model, example) without return types