class_docstr: Converts infos of vectorized environments from dict to List[dict].
  
  This wrapper converts the info format of a
  vector environment from a dictionary to a list of dictionaries.
  This wrapper is intended to be used around vectorized
  environments. If using other wrappers that perform
  operation on info like `RecordEpisodeStatistics` this
  need to be the outermost wrapper.
  
  i.e. VectorListInfo(RecordEpisodeStatistics(envs))
  
  Example::
  
  >>> # actual
  >>> {
  ...      "k": np.array[0., 0., 0.5, 0.3],
  ...      "_k": np.array[False, False, True, True]
  ...  }
  >>> # classic
  >>> [{}, {}, {k: 0.5}, {k: 0.3}]
docstr: Convert the dict info to list.
  
  Convert the dict info of the vectorized environment
  into a list of dictionaries where the i-th dictionary
  has the info of the i-th environment.
  
  Args:
      infos (dict): info dict coming from the env.
  
  Returns:
      list_info (list): converted info.
code: def _convert_info_to_list(self, infos: dict) -> List[dict]:
      """Convert the dict info to list.
  
      Convert the dict info of the vectorized environment
      into a list of dictionaries where the i-th dictionary
      has the info of the i-th environment.
  
      Args:
          infos (dict): info dict coming from the env.
  
      Returns:
          list_info (list): converted info.
  
      """
      list_info = [{} for _ in range(self.num_envs)]
      list_info = self._process_episode_statistics(infos, list_info)
      for k in infos:
          if k.startswith("_"):
              continue
          for i, has_info in enumerate(infos[f"_{k}"]):
              if has_info:
                  list_info[i][k] = infos[k][i]
      return list_info
  
file_path: gym/gym/wrappers/vector_list_info.py
imports: from typing import List
  import gym
label_desc: Use image node_id 4 for calling the VectorListInfo obj's underlying member method code with example usage: obj._convert_info_to_list(infos) and returns: list_info