code: def random_shape_type(shape_type: Optional[str]) -> Iterator[str]:
      shapes = ["circle", "rectangle"]
  
      while True:
          yield shape_type if shape_type else shapes[
              random.randint(0, len(shapes) - 1)
          ]
  
file_path: AugLy/augly/video/augmenters/cv2/shapes.py
imports: import random
  from typing import Iterator, List, Optional, Tuple
  import cv2
  import numpy
  from augly.video.augmenters.cv2.base_augmenter import BaseCV2Augmenter
label_desc: Use image node_id 3 for calling the VideoDistractorByShapes obj's underlying member method code with example usage: obj.random_shape_type(shape_type) without return types