lint and format

This commit is contained in:
Jakub Miazek
2023-07-24 19:29:31 +02:00
parent 2fb3035709
commit f77ab40352
4 changed files with 8 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ async def verify_jwt(request: Request, token: str) -> bool:
class AuthBearer(HTTPBearer):
def __init__(self, auto_error: bool = True):
super(AuthBearer, self).__init__(auto_error=auto_error)
super().__init__(auto_error=auto_error)
async def __call__(self, request: Request):
credentials: HTTPAuthorizationCredentials = await super(AuthBearer, self).__call__(request)