Skip to content

Commit e4da0a1

Browse files
committed
Fix mypy errors with current_user (fixes #488)
1 parent 6b6fa42 commit e4da0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_jwt_extended/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from flask_jwt_extended.internal_utils import get_jwt_manager
1212

1313
# Proxy to access the current user
14-
current_user = LocalProxy(lambda: get_current_user())
14+
current_user: Any = LocalProxy(lambda: get_current_user())
1515

1616

1717
def get_jwt() -> dict:

0 commit comments

Comments
 (0)