class_docstr: Warning class for deprecated callables. This is a specialization of the built-in
  :class:`DeprecationWarning`, adding parameters that allow us to get information into the __str__
  that ends up being sent through the :mod:`warnings` system. The attributes aren't able to be
  retrieved after the warning gets raised and passed through the system as only the class--not the
  instance--and message are what gets preserved
  
  Parameters
  ----------
  obj_name: String
      The name of the callable being deprecated
  v_deprecate: String
      The version that `obj` is deprecated in
  v_remove: String
      The version that `obj` gets removed in
  details: String, default=""
      Deprecation details, such as directions on what to use instead of the deprecated code
class_docstr_tok: ["Warning","class","for","deprecated","callables",".","This","is","a","specialization","of","the","built-in",":","class",":","`","DeprecationWarning","`",",","adding","parameters","that","allow","us","to","get","information","into","the","__str__","that","ends","up","being","sent","through","the",":","mod",":","`","warnings","`","system",".","The","attributes","are","n't","able","to","be","retrieved","after","the","warning","gets","raised","and","passed","through","the","system","as","only","the","class","--","not","the","instance","--","and","message","are","what","gets","preserved","Parameters","--","--","--","--","--","obj_name",":","String","The","name","of","the","callable","being","deprecated","v_deprecate",":","String","The","version","that","`","obj","`","is","deprecated","in","v_remove",":","String","The","version","that","`","obj","`","gets","removed","in","details",":","String",",","default=","''","''","Deprecation","details",",","such","as","directions","on","what","to","use","instead","of","the","deprecated","code"]
code: def __str__(self):
      parts = dict(
          obj_name=self.obj_name,
          deprecated=" as of {}".format(self.v_deprecate)
          if self.v_deprecate
          else "",
          removed=" and will be removed in {}".format(self.v_remove)
          if self.v_remove
          else "",
          period="."
          if any([self.v_deprecate, self.v_remove, self.details])
          else "",
          details=" {}".format(self.details) if self.details else "",
      )
  
      return "{obj_name} is deprecated{deprecated}{removed}{period}{details}".format(
          **parts
      )
  
imports: import logging
  import sys
label_desc: Use image node_id 2 for calling the DeprecatedWarning obj's underlying member method code with example usage: obj.__str__() and returns: str