#2639 Fix reset signature
This commit is contained in:
@@ -83,7 +83,7 @@ class PrimaiteGymEnv(gymnasium.Env):
|
|||||||
with open(path, "w") as file:
|
with open(path, "w") as file:
|
||||||
json.dump(data, file)
|
json.dump(data, file)
|
||||||
|
|
||||||
def reset(self, seed: Optional[int] = None) -> Tuple[ObsType, Dict[str, Any]]:
|
def reset(self, seed: Optional[int] = None, options: Optional[Dict] = None) -> Tuple[ObsType, Dict[str, Any]]:
|
||||||
"""Reset the environment."""
|
"""Reset the environment."""
|
||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
f"Resetting environment, episode {self.episode_counter}, "
|
f"Resetting environment, episode {self.episode_counter}, "
|
||||||
|
|||||||
Reference in New Issue
Block a user