code: def __str__(self):
      warn_string = "[PARL] API `{}` is deprecated since version {} and will be removed in version {}".format(
          self.function, self.deprecated_in, self.removed_in
      )
      if self.replace_function is not None:
          warn_string += ", please use `{}` instead.".format(
              self.replace_function
          )
      else:
          warn_string += "."
      return warn_string
  
imports: import functools
  import textwrap
  import warnings
label_desc: Use image node_id 2 for calling the CustomDeprecationWarning obj's underlying member method code with example usage: obj.__str__() and returns: warn_string