docstr: Helper method to handle wrapping of function/method callables
  
  Parameters
  ----------
  f: Function
      The function to be wrapped with a deprecation warning, and an updated docstring
  
  Returns
  -------
  wrapped: Function
      Updated `f` that raises a deprecation warning before being called, and contains
      an updated docstring
docstr_tok: ["Helper","method","to","handle","wrapping","of","function\/method","callables","Parameters","--","--","--","--","--","f",":","Function","The","function","to","be","wrapped","with","a","deprecation","warning",",","and","an","updated","docstring","Returns","--","--","--","-","wrapped",":","Function","Updated","`","f","`","that","raises","a","deprecation","warning","before","being","called",",","and","contains","an","updated","docstring"]
code: def _decorate_function(self, f):
      """Helper method to handle wrapping of function/method callables
  
      Parameters
      ----------
      f: Function
          The function to be wrapped with a deprecation warning, and an updated docstring
  
      Returns
      -------
      wrapped: Function
          Updated `f` that raises a deprecation warning before being called, and contains
          an updated docstring"""
  
      @wraps(f)
      def wrapped(*args, **kwargs):
          self._verbose_warning()
          return f(*args, **kwargs)
  
      wrapped.__doc__ = self._update_doc(wrapped.__doc__)
      wrapped.__wrapped__ = f
      return wrapped
  
imports: from hyperparameter_hunter.i_o.exceptions import DeprecatedWarning, UnsupportedWarning
  from functools import wraps
  import re
  from six import string_types
  from textwrap import dedent
  from typing import Union
  from warnings import warn, simplefilter
label_desc: Use image node_id 4 for calling the Deprecated obj's underlying member method code with example usage: obj._decorate_function(f) and returns: wrapped, f