Skip to content

Commit

Permalink
Fix mypy errors with current_user (fixes #488)
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalloc committed Jul 27, 2022
1 parent 6b6fa42 commit e4da0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_jwt_extended/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from flask_jwt_extended.internal_utils import get_jwt_manager

# Proxy to access the current user
current_user = LocalProxy(lambda: get_current_user())
current_user: Any = LocalProxy(lambda: get_current_user())


def get_jwt() -> dict:
Expand Down

0 comments on commit e4da0a1

Please sign in to comment.