code: def __init__(
      self, axis: tp.Optional[tp.Union[int, tp.Iterable[int]]] = None
  ):
      if not isinstance(axis, core.Parameter):
          axes = (
              (axis,)
              if isinstance(axis, int)
              else tuple(axis)
              if axis is not None
              else None
          )
      super().__init__(axes=axes)
  
imports: import typing
  import numpy
  from .None import core
  from .None import transforms
  from .data import Data, Scalar
  from .choice import Choice
  from .None import _layering
label_desc: Use image node_id 1 to create a new Translation object from inherited base classes: DataMutation with example: obj = Translation(axis)