code: def random_thickness(thickness: Optional[int]) -> Iterator[int]:
      while True:
          yield thickness or random.randint(-1, 5)
  
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 4 for calling the VideoDistractorByShapes obj's underlying member method code with example usage: obj.random_thickness(thickness) without return types