stable-baselines3/stable_baselines3
Alex Pasquali 6a8c9ddc8b
Updated type hint and extended docstring in make_vec_env and make_atari_env (#1085)
* Updated type hint and extended docstring in make_vec_env

The function itself was already working with callables, but it wasn't considerent in the type hint of the function's signature.

Extended the description of the wrapper_class parameter with a link to a Github issue containing more details on the matter.

* Updated type hint in make_atari_env

The function itself was already working with callables, but it wasn't considerent in the type hint of the function's signature.

* Updated docstring in make_atari_env

When modifying the type hint of the parameter 'env_id' (in this commit: fda6872f73c11075901ba88f2520f6316f818d1d), I forgot to update its description in the docstrig.
Doing it now.

* Removed redundant type in env_id's type hint in make_vec_env and make_atari_env

Callable[..., gym.Env] already includes Type[gym.Env], as pointed out here: https://github.com/DLR-RM/stable-baselines3/pull/1085#issuecomment-1269685218

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2022-10-06 13:36:06 +02:00
..
a2c Fix return type for load, learn in BaseAlgorithm (#1043) 2022-09-26 12:13:56 +02:00
common Updated type hint and extended docstring in make_vec_env and make_atari_env (#1085) 2022-10-06 13:36:06 +02:00
ddpg Fix return type for load, learn in BaseAlgorithm (#1043) 2022-09-26 12:13:56 +02:00
dqn Fix return type for load, learn in BaseAlgorithm (#1043) 2022-09-26 12:13:56 +02:00
her Add append mode to Monitor (#1037) 2022-08-31 11:53:44 +02:00
ppo Fixed typos (#1076) 2022-09-28 14:57:46 +02:00
sac Fix return type for load, learn in BaseAlgorithm (#1043) 2022-09-26 12:13:56 +02:00
td3 Fix return type for load, learn in BaseAlgorithm (#1043) 2022-09-26 12:13:56 +02:00
__init__.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
py.typed Rename to stable-baselines3 2020-05-05 15:02:35 +02:00
version.txt Release v1.6.1 (#1080) 2022-09-29 12:15:55 +02:00