code: def get_list_subset(
      target: List[T], index_list: List[int]
  ) -> List[T]:
      """
      Get the subset of the target list
      Args:
          target: target list
          index_list: subset items index
  
      Returns:
          subset of the original list
      """
      return [target[i] for i in index_list if i < len(target)]
  
imports: import random
  from typing import List, Union, TypeVar, Tuple
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_list_subset(target, index_list) and returns: unknown