code: def signature_remove_self(signature: Signature) -> Signature:
      params = dict(signature.parameters)
      params.pop("self", None)
      return Signature(
          list(params.values()),
          return_annotation=signature.return_annotation,
      )
  
file_path: PySyft/packages/syft/src/syft/serde/signature.py
imports: import inspect
  from inspect import Parameter
  from inspect import Signature
  from inspect import _ParameterKind
  from inspect import _signature_fromstr
  import re
  from typing import Callable
  from typing import Optional
  from .deserialize import _deserialize
  from .recursive import recursive_serde_register
  from .serialize import _serialize
label_desc: Use image node_id 3 for calling a global function with example usage: signature_remove_self(signature) and returns: Signature