aboutsummaryrefslogtreecommitdiffstats
path: root/backend/authentication/user.py
diff options
context:
space:
mode:
authorGravatar decorator-factory <[email protected]>2020-12-15 08:28:22 +0300
committerGravatar decorator-factory <[email protected]>2020-12-15 08:28:22 +0300
commit7e98943c9d15b2f81f83fc6bfc75e9b3a57eb31c (patch)
treec7d7f209dd28abe1c2182e3fb55ea275fc628cb9 /backend/authentication/user.py
parentfix various type annotation issues (diff)
minor refactorings
Diffstat (limited to 'backend/authentication/user.py')
-rw-r--r--backend/authentication/user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/authentication/user.py b/backend/authentication/user.py
index 3bed0a1..722c348 100644
--- a/backend/authentication/user.py
+++ b/backend/authentication/user.py
@@ -1,10 +1,9 @@
import typing as t
-from abc import ABC
from starlette.authentication import BaseUser
-class User(BaseUser, ABC):
+class User(BaseUser):
"""Starlette BaseUser implementation for JWT authentication."""
def __init__(self, token: str, payload: dict[str, t.Any]) -> None: