code: def get_class_signature_functions(classes):
      signatures = []
      for num, cls in enumerate(classes):
          if cls.__new__ is not object.__new__ and not any(
              cls.__new__ is c.__new__ for c in classes[num + 1 :]
          ):
              signatures.append((cls, cls.__new__))
          if not any(
              cls.__init__ is c.__init__ for c in classes[num + 1 :]
          ):
              signatures.append((cls, cls.__init__))
      return signatures
  
imports: import contextlib
  import functools
  import inspect
  from argparse import Namespace
  from functools import wraps
  from inspect import Parameter, signature
  from typing import Any, Callable, Dict, List, Optional, Set, Type, Union
  import pytorch_lightning
  from jsonargparse import ArgumentParser, class_from_function
  from lightning_utilities.core.overrides import is_overridden
  from pytorch_lightning import LightningModule, Trainer
  import flash
  from flash.core.data.data_module import DataModule
  from flash.core.utilities.lightning_cli import LightningArgumentParser, LightningCLI, SaveConfigCallback
  from flash.core.utilities.stability import beta
label_desc: Use image node_id 4 for calling a global function with example usage: get_class_signature_functions(classes) and returns: signatures