code: def add_docstring(doc):
      def func(f):
          f.__doc__ += (
              "\n======other docs from supper class ======\n%s" % doc
          )
          return f
  
      return func
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/vit_b_16x/ernievil2/transformers/file_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import logging
  import os
  import time
  from pathlib import Path
  import six
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: add_docstring(doc) and returns: func, f