From e4da0a11151f4e37d78ce0f33ad9bb93a0a497af Mon Sep 17 00:00:00 2001 From: Lily Acadia Gilbert Date: Wed, 27 Jul 2022 14:36:58 -0700 Subject: [PATCH] Fix mypy errors with current_user (fixes #488) --- flask_jwt_extended/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_jwt_extended/utils.py b/flask_jwt_extended/utils.py index b84d4901..4f1004a2 100644 --- a/flask_jwt_extended/utils.py +++ b/flask_jwt_extended/utils.py @@ -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: