We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had some issue with the fact that the reset method does not match the signature of gymnasium API. In particular, the argument options is missing.
options
Update the signature as reset( self, *, seed: int | None = None, options: dict[str, Any] | None = None, ) -> tuple[ObsType, dict[str, Any]]:
reset( self, *, seed: int | None = None, options: dict[str, Any] | None = None, ) -> tuple[ObsType, dict[str, Any]]:
No response
The text was updated successfully, but these errors were encountered:
Pull request #266 would support this new interface. You can check whether it meets your requirement and feel free to review it.
Sorry, something went wrong.
Thanks, I will look into it!
No branches or pull requests
Required prerequisites
Motivation
I had some issue with the fact that the reset method does not match the signature of gymnasium API.
In particular, the argument
options
is missing.Solution
Update the signature as
reset( self, *, seed: int | None = None, options: dict[str, Any] | None = None, ) -> tuple[ObsType, dict[str, Any]]:
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: