diff options
author | 2020-12-15 08:13:37 +0300 | |
---|---|---|
committer | 2020-12-15 08:13:37 +0300 | |
commit | 947a30f7406b7d025cf2e5754b59389af4213718 (patch) | |
tree | c6236edb812db32f583ac0acc9099be33d1a0e2b /backend/authentication/user.py | |
parent | Add ks123 (GH ks129) to CODEOWNERS (diff) |
fix various type annotation issues
Diffstat (limited to 'backend/authentication/user.py')
-rw-r--r-- | backend/authentication/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/authentication/user.py b/backend/authentication/user.py index afa243f..3bed0a1 100644 --- a/backend/authentication/user.py +++ b/backend/authentication/user.py @@ -7,7 +7,7 @@ from starlette.authentication import BaseUser class User(BaseUser, ABC): """Starlette BaseUser implementation for JWT authentication.""" - def __init__(self, token: str, payload: t.Dict) -> None: + def __init__(self, token: str, payload: dict[str, t.Any]) -> None: self.token = token self.payload = payload |