code: def format_transforms(
      transforms: Optional[Union[Callable, List[Callable]]]
  ) -> List[Callable]:
      if transforms is None:
          return []
      if callable(transforms):
          return [transforms]
      return transforms
  
label_desc: Use image node_id 1 for calling a global function with example usage: format_transforms(transforms) and returns: transforms, list, list