code: def prediction_result_enc_warning(enc):
      if enc is not None:
          warnings.warn(
              "The enc keyword argument has been deprecated since 1.1.0 "
              "and will be removed in 2.0.0.",
              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 5 for calling a global function with example usage: prediction_result_enc_warning(enc) without return types