From 93a32bdd9cc3ad2136549dce5815d50d7a93cf12 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Sun, 13 Aug 2023 08:59:35 +0200 Subject: [PATCH] fix lint UP008 --- app/services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/auth.py b/app/services/auth.py index 2a2ad87..9af470b 100644 --- a/app/services/auth.py +++ b/app/services/auth.py @@ -23,7 +23,7 @@ class AuthBearer(HTTPBearer): super().__init__(auto_error=auto_error) async def __call__(self, request: Request): - credentials: HTTPAuthorizationCredentials = await super(AuthBearer, self).__call__(request) + credentials: HTTPAuthorizationCredentials = await super().__call__(request) if credentials: if not credentials.scheme == "Bearer": raise HTTPException(status_code=403, detail="Invalid authentication scheme.")