code: def model_selection_deprecation_warning(model_selection):
      if model_selection is not True:
          warnings.warn(
              "model_selection is deprecated since 1.1.0 "
              'and will be removed in 2.0.0. Please use the "model_selection" kwarg in fit () '
              "instead.",
              DeprecationWarning,
              stacklevel=2,
          )
  
file_path: small-text/small_text/utils/annotations.py
imports: import inspect
  import warnings
  from functools import wraps
  from packaging import version
  from small_text.version import get_version
label_desc: Use image node_id 4 for calling a global function with example usage: model_selection_deprecation_warning(model_selection) without return types