pylint false positive - Instance of 'str' has no 'value' member (no-member) #8897
Labels
Crash 💥
A bug that makes pylint crash
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
For the following piece of code pylint gives the error:
E1101: Instance of 'str' has no 'value' member (no-member)
in python 3.9 and 3.10 but doesn't gives this error in python 3.11, While the code itself works fine. It seems like a false positive for us.Configuration
https://github.com/apache/superset/blob/master/.pylintrc
Command used
Pylint output
Expected behavior
pylint should be able to recognize
value
retrieval for the Enum member.Pylint version
OS / Environment
Linux Based Operating Systems
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: