code: def rotate_with_fill(img: Any, magnitude: int) -> Any:
      rot = img.convert("RGBA").rotate(magnitude)
      return Image.composite(
          rot, Image.new("RGBA", rot.size, (128,) * 4), rot
      ).convert(img.mode)
  
imports: import random
  from enum import auto, Enum
  from functools import partial
  from typing import Any, Callable, NamedTuple, Sequence, Tuple
  import numpy
  from classy_vision.dataset.transforms import ClassyTransform, register_transform
  from PIL import Image, ImageEnhance, ImageOps
label_desc: Use image node_id 5 for calling a global function with example usage: rotate_with_fill(img, magnitude) and returns: Image