Skip to content
New issue

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

Fix __all__ in root __init__.py #130

Merged

Conversation

pseudo-rnd-thoughts
Copy link
Member

@pseudo-rnd-thoughts pseudo-rnd-thoughts commented Nov 14, 2022

Pyright complains that gym.wrappers is a private import, the reason for this is that wrappers is not included in the root __init__.py's __all__.
In this PR, I have updated the __all__ to include all of the imported items in the __init__.py

In addition, this PR adds the registry to the __all__ like make, register and spec. We might want to think about making it a property to avoid users writing over environment specs

@pseudo-rnd-thoughts pseudo-rnd-thoughts merged commit a13b9c4 into Farama-Foundation:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant