code: def _warn_for_deprecated(**kwargs):
      # TODO: remove this in the future
      for k in ("typ",):
          if kwargs.pop(k, None):
              warnings.warn(
                  "'%s' is deprecated and will be removed in a future "
                  "release" % k,
                  DeprecationWarning,
              )
      return kwargs
  
imports: from itertools import islice
  import pandas
  import warnings
  from sklearn.base import BaseEstimator, clone
  from .base import BaseARIMA
  from .preprocessing.base import BaseTransformer
  from .preprocessing.endog.base import BaseEndogTransformer
  from .preprocessing.exog.base import BaseExogTransformer, BaseExogFeaturizer
  from .utils import check_endog
  from .compat import DTYPE, check_is_fitted
  from .compat.sklearn import if_delegate_has_method
label_desc: Use image node_id 1 for calling a global function with example usage: _warn_for_deprecated() and returns: kwargs