Enum subclassMyEnum.__members__.items()observe E1101: Function '__members__' has no 'items' member (no-member)
Iterating over an Enum per the Python docs does not result in a linting error.
pylint 2.7.0
astroid 2.5
I can make a patch about this issue
I'm facing the same issue, but with values instead of items. Would expect it's the same for keys as well.
I have __members__[something] which gives me unsubscriptable-object. I guess everything under __members__ is invisible...
Most helpful comment
I'm facing the same issue, but with
valuesinstead ofitems. Would expect it's the same forkeysas well.