input: from typing import List
  
  def generate_random_array(size: List[int], low: int, high: int) -> np.ndarray:
      """ Generate a 2D array of random integers within a specified range.
      >>> generate_random_array(size=[3, 3], low=1, high=6)
      array([[4, 2, 5],
             [1, 3, 4],
             [5, 1, 2]])
      """
      import numpy as np
      return np.random.randint(low, high, size=size)
output:     import numpy as np
      return np.random.randint(low, high, size=size)