code: def serialize_signature(obj: Signature) -> bytes:
      parameters = list(dict(obj.parameters).values())
      return_annotation = obj.return_annotation
      obj_dict = {
          "parameters": parameters,
          "return_annotation": return_annotation,
      }
      return _serialize(obj_dict, to_bytes=True)
  
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 1 for calling a global function with example usage: serialize_signature(obj) and returns: _serialize