False positive no-member
for enum.Enum
when imported with alias
#5776
Labels
Milestone
no-member
for enum.Enum
when imported with alias
#5776
Bug description
Enum is not being recognised as an Enum, when it's imported with an alias (to prevent confusion when also doing
from sqlalchemy.dialects.postgresql import ENUM
)Configuration
No response
Command used
Pylint output
Expected behavior
No error
Pylint version
OS / Environment
Ubuntu 20.04.3 LTS
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: