code: def get_class_signature(cls):
      try:
          class_signature = get_function_signature(cls.__init__)
          class_signature = class_signature.replace(
              "__init__", cls.__name__
          )
      except (TypeError, AttributeError):
          # in case the class inherits from object and does not
          # define __init__
          class_signature = "{clean_module_name}.{cls_name}()".format(
              clean_module_name=clean_module_name(cls.__module__),
              cls_name=cls.__name__,
          )
      return class_signature
  
file_path: hyperopt/docs/autogen.py
imports: import re
  import inspect
  import os
  import shutil
label_desc: Use image node_id 2 for calling a global function with example usage: get_class_signature(cls) and returns: class_signature