Skip to content

Commit

Permalink
type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
suddjian committed Feb 9, 2022
1 parent 65ce787 commit e508457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def create_login_manager(self, app: Flask) -> LoginManager:
lm.request_loader(self.request_loader)
return lm

def request_loader(self, request: Request):
def request_loader(self, request: Request) -> Optional[User]:
# pylint: disable=import-outside-toplevel
from superset.extensions import feature_flag_manager

Expand Down

0 comments on commit e508457

Please sign in to comment.