code: def get_param_annotations(
      typed_signature: inspect.Signature,
  ) -> Dict[int, Union[Annotated[Type[Any], str], Type[Any]]]:
      """Get the type annotations of the parameters of a function
  
      Args:
          typed_signature: The signature of the function with type annotations
  
      Returns:
          A dictionary of the type annotations of the parameters of the function
      """
      return {
          k: v.annotation
          for k, v in typed_signature.parameters.items()
          if v.annotation is not inspect.Signature.empty
      }
  
imports: import functools
  import inspect
  import json
  from logging import getLogger
  from typing import Any, Callable, Dict, ForwardRef, List, Optional, Set, Tuple, Type, TypeVar, Union
  from pydantic import BaseModel, Field
  from typing_extensions import Annotated, Literal, get_args, get_origin
  from ._pydantic import JsonSchemaValue, evaluate_forwardref, model_dump, model_dump_json, type2schema
label_desc: Use image node_id 4 for calling a global function with example usage: get_param_annotations(typed_signature) and returns: unknown