code: def random_thickness(self, thickness: Optional[int]) -> Iterator[int]:
      while True:
          yield thickness or random.randint(2, 5)
  
file_path: AugLy/augly/video/augmenters/cv2/text.py
imports: import pickle
  import random
  import string
  from typing import Any, Iterator, List, Optional, Tuple
  import cv2
  import numpy
  from augly.utils import pathmgr
  from augly.video.augmenters.cv2.base_augmenter import BaseCV2Augmenter
  from PIL import Image, ImageDraw, ImageFont
label_desc: Use image node_id 5 for calling the VideoDistractorByText obj's underlying member method code with example usage: obj.random_thickness(thickness) without return types