class_docstr: Creates a simple wrapper for multiple environments, calling each environment in sequence on the current
  Python process. This is useful for computationally simple environment such as ``cartpole-v1``, as the overhead of
  multiprocess or multi-thread outweighs the environment computation time. This can also be used for RL methods that
  require a vectorized environment, but that you want a single environments to train with.
  
  :param env_factories: A list of functions that will create the environments
class_docstr_tok: ["Creates","a","simple","wrapper","for","multiple","environments",",","calling","each","environment","in","sequence","on","the","current","Python","process",".","This","is","useful","for","computationally","simple","environment","such","as","``","cartpole-v1","``",",","as","the","overhead","of","multiprocess","or","multi-thread","outweighs","the","environment","computation","time",".","This","can","also","be","used","for","RL","methods","that","require","a","vectorized","environment",",","but","that","you","want","a","single","environments","to","train","with",".",":","param","env_factories",":","A","list","of","functions","that","will","create","the","environments"]
docstr: VectorEnv implementation
docstr_tok: ["VectorEnv","implementation"]
code: def close(self) -> None:
      """VectorEnv implementation"""
      for env in self.envs:
          env.close()
  
file_path: maze/maze/train/parallelization/vector_env/sequential_vector_env.py
imports: from typing import List, Callable, Iterable, Any, Tuple, Dict, Optional
  import numpy
  from maze.core.annotations import override
  from maze.core.env.action_conversion import ActionType
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.observation_conversion import ObservationType
  from maze.core.log_stats.log_stats import LogStatsLevel
  from maze.core.wrappers.log_stats_wrapper import LogStatsWrapper
  from maze.train.parallelization.vector_env.structured_vector_env import StructuredVectorEnv
  from maze.train.parallelization.vector_env.vector_env import VectorEnv
  from maze.train.utils.train_utils import stack_numpy_dict_list, unstack_numpy_list_dict
label_desc: Use image node_id 6 for calling the SequentialVectorEnv obj's underlying member method code with example usage: obj.close() without return types