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
Mypy spits out error: "SomeEnum" has no attribute "__members__" with the following code:
error: "SomeEnum" has no attribute "__members__"
from enum import Enum class SomeEnum(Enum): ONE = 1 TWO = 2 SomeEnum.__members__
__members__ exists and is documented in the py docs
__members__
Mypy version: 0.501 Python: 3.6.0
The text was updated successfully, but these errors were encountered:
I think this is being tracked in python/typeshed#854.
Sorry, something went wrong.
Indeed. I should pick up my work on Enum.
No branches or pull requests
Mypy spits out
error: "SomeEnum" has no attribute "__members__"
with the following code:__members__
exists and is documented in the py docsMypy version: 0.501
Python: 3.6.0
The text was updated successfully, but these errors were encountered: