class_docstr: Force some classes to skip ``__new__`` when generating signature.
class_docstr_tok: ["Force","some","classes","to","skip","``","__new__","``","when","generating","signature","."]
code: def patch(self, *args, **kwargs):
      self.original = sphinx.ext.autodoc._CLASS_NEW_BLACKLIST
  
      blacklist = []
  
      # import nni.retiarii.nn.pytorch
      # for name in dir(nni.retiarii.nn.pytorch):
      #     obj = getattr(nni.retiarii.nn.pytorch, name)
      #     if inspect.isclass(obj):
      #         new_name = "{0.__module__}.{0.__qualname__}".format(obj.__new__)
      #         if new_name not in blacklist:
      #             blacklist.append(new_name)
  
      sphinx.ext.autodoc._CLASS_NEW_BLACKLIST = (
          self.original + blacklist
      )
  
file_path: nni/docs/extension/patch_autodoc.py
imports: import inspect
  import os
  from typing import List, Tuple, List
  import sphinx
  from docutils import nodes
  from docutils.nodes import Node
label_desc: Use image node_id 2 for calling the ClassNewBlacklistPatch obj's underlying member method code with example usage: obj.patch() without return types