code: def __init__(
      self,
      num_insertions: int = 1,
      insertion_location: str = "random",
      seed: Optional[int] = 10,
  ):
      VALID_LOCATIONS = {"prepend", "append", "random"}
      assert (
          insertion_location in VALID_LOCATIONS
      ), f"{insertion_location} has to be one of {VALID_LOCATIONS}"
      assert (
          num_insertions >= 1
      ), "num_insertions has to be a positive number"
  
      self.num_insertions = num_insertions
      self.insertion_location = insertion_location
      self.seeded_random = Random(seed)
  
imports: from random import Random
  from typing import List, Optional, Union
label_desc: Use image node_id 1 to create a new InsertTextAugmenter object  with example: obj = InsertTextAugmenter(num_insertions, insertion_location, seed)