Import vector in gymnasium.__init__ (#403)

This commit is contained in:
Mark Towers
2023-03-25 00:16:34 +00:00
committed by GitHub
parent 8c167b868d
commit e619e1bceb

View File

@@ -1,6 +1,5 @@
"""Root `__init__` of the gymnasium module setting the `__all__` of gymnasium modules.""" """Root `__init__` of the gymnasium module setting the `__all__` of gymnasium modules."""
# isort: skip_file # isort: skip_file
# pyright: reportUnsupportedDunderAll=false
from gymnasium.core import ( from gymnasium.core import (
Env, Env,
@@ -21,6 +20,7 @@ from gymnasium.envs.registration import (
# necessary for `envs.__init__` which registers all gymnasium environments and loads plugins # necessary for `envs.__init__` which registers all gymnasium environments and loads plugins
from gymnasium import envs from gymnasium import envs
from gymnasium import experimental, spaces, utils, vector, wrappers, error, logger
__all__ = [ __all__ = [
@@ -48,7 +48,8 @@ __all__ = [
"error", "error",
"logger", "logger",
] ]
__version__ = "0.28.0" __version__ = "0.28.1"
# Initializing pygame initializes audio connections through SDL. SDL uses alsa by default on all Linux systems # Initializing pygame initializes audio connections through SDL. SDL uses alsa by default on all Linux systems
# SDL connecting to alsa frequently create these giant lists of warnings every time you import an environment using # SDL connecting to alsa frequently create these giant lists of warnings every time you import an environment using