-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
Environment:
flask-jwt-extended==4.4.2
mypy==0.971
Example listing of check.py:
from flask_jwt_extended import current_user
current_user.idType checking error:
$ mypy check.py
check.py:3: error: "LocalProxy[Any]" has no attribute "id"
Found 1 error in 1 file (checked 1 source file)
There is usually a lot of accessing attributes of the current_user variable so I've started to see a huge number of these errors in my codebase. Version 4.4.1 leads to the same errors but there is no such errors with version 4.4.0 so I guess it relates to #480. Also when I removed py.typed file from my local installation then errors disappeared.
Metadata
Metadata
Assignees
Labels
No labels