code: def pretty_select(
      augmentations: List[Augmentation],
      aug_ids: _DataNode,
      op_kwargs,
      auto_aug_name: str,
      ref_suite_name: str,
  ):
      try:
          return select(augmentations, aug_ids, **op_kwargs)
      except MissingArgException as e:
          if e.missing_args != ["shape"] or e.augmentation.op not in [
              a.translate_x.op,
              a.translate_y.op,
          ]:
              raise
          else:
              raise Exception(
                  f"The augmentation `{e.augmentation.name}` requires `shape` argument that "
                  f"describes image shape (in HWC layout). Please provide it as `shape` argument "
                  f"to `{auto_aug_name}` call. You can get the image shape from encoded "
                  f"images with `fn.peek_image_shape`. Alternatively, you can use "
                  f"`translate_x_no_shape`/`translate_y_no_shape` that does not rely on image "
                  f"shape, but uses offset from fixed range: for reference see `{ref_suite_name}` "
                  f"and its `use_shape` argument. "
              )
  
file_path: DALI/dali/python/nvidia/dali/auto_aug/core/_utils.py
imports: from typing import List, Optional
  from nvidia.dali.data_node import DataNode
  from nvidia.dali.auto_aug.core._select import select
  from nvidia.dali.auto_aug.core._args import MissingArgException
  from nvidia.dali.auto_aug.core._augmentation import Augmentation
  import nvidia.dali.auto_aug.augmentations
label_desc: Use image node_id 4 for calling a global function with example usage: pretty_select(augmentations, aug_ids, op_kwargs, auto_aug_name, ref_suite_name) and returns: select