code: def get_signature(object_, override=None, max_line_length: int = 110):
      if inspect.isclass(object_):
          return get_class_signature(object_, override, max_line_length)
      else:
          return get_function_signature(
              object_, override, max_line_length
          )
  
file_path: autokeras/docs/keras_autodoc/get_signatures.py
imports: import inspect
  import warnings
  import black
  from sphinx.util.inspect import signature
  from sphinx.util.inspect import stringify_signature
  from .None import utils
label_desc: Use image node_id 5 for calling a global function with example usage: get_signature(object_, override, max_line_length) and returns: get_class_signature, get_function_signature