mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
lint and format
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user