From 69e7546fbacc3087c83ac53818c06c03c5e49e64 Mon Sep 17 00:00:00 2001 From: pseudo-rnd-thoughts Date: Fri, 22 Nov 2024 10:04:23 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Farama-F?= =?UTF-8?q?oundation/Gymnasium@13230f4a120336b45c880b644585056d31f4c956=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/.buildinfo | 2 +- .../tutorials_python.zip | Bin 106133 -> 106133 bytes .../tutorials_jupyter.zip | Bin 128776 -> 128776 bytes main/_modules/gymnasium/core/index.html | 4 +++- .../gymnasium/vector/vector_env/index.html | 4 +++- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/main/.buildinfo b/main/.buildinfo index 6328dc04d..927e72664 100644 --- a/main/.buildinfo +++ b/main/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: c8614aea3385efbeccff5374f83671e8 +config: 6e61249047292981a84104a53735e4b9 tags: d77d1c0d9ca2f4c8421862c7c5a0d620 diff --git a/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip b/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip index 3c06d43278621a7e199d640a05fc2914f37af2d6..17807899e22bf5f413b32d312cf674ffc27d273d 100644 GIT binary patch delta 129 zcmbQbmu>1^Hl6@)W)=|!5ReYo$a7YLNjhNjZHdHm5N+2G7zv^$-pm&O(M+#?TLJ0q z|5X@O-9QYrY(@@4AY;109L5+B-8Y9Z1Vlf9(pGaJ{0Vaz13}`C=Q8?%XybW|NdUHO BCl&wz delta 129 zcmbQbmu>1^Hl6@)W)=|!5P0OXk>{)g(<7hFwSource code for gymnasium.core
             env: The environment to wrap
         """
         self.env = env
-        assert isinstance(env, Env)
+        assert isinstance(
+            env, Env
+        ), f"Expected env to be a `gymnasium.Env` but got {type(env)}"
 
         self._action_space: spaces.Space[WrapperActType] | None = None
         self._observation_space: spaces.Space[WrapperObsType] | None = None
diff --git a/main/_modules/gymnasium/vector/vector_env/index.html b/main/_modules/gymnasium/vector/vector_env/index.html
index 22bdb88a8..a1c02f8d1 100644
--- a/main/_modules/gymnasium/vector/vector_env/index.html
+++ b/main/_modules/gymnasium/vector/vector_env/index.html
@@ -738,7 +738,9 @@ 

Source code for gymnasium.vector.vector_env

             env: The environment to wrap
         """
         self.env = env
-        assert isinstance(env, VectorEnv)
+        assert isinstance(
+            env, VectorEnv
+        ), f"Expected env to be a `gymnasium.vector.VectorEnv` but got {type(env)}"
 
         self._observation_space: gym.Space | None = None
         self._action_space: gym.Space | None = None