Fix linting

This commit is contained in:
François Voron
2024-11-03 12:46:46 +00:00
committed by GitHub
parent f37a48f97d
commit 7f92a82e07
3 changed files with 17 additions and 9 deletions

View File

@ -72,7 +72,9 @@ class FastAPIUsers(Generic[models.UP, models.ID]):
return get_reset_password_router(self.get_user_manager)
def get_auth_router(
self, backend: AuthenticationBackend[models.UP, models.ID], requires_verification: bool = False
self,
backend: AuthenticationBackend[models.UP, models.ID],
requires_verification: bool = False,
) -> APIRouter:
"""
Return an auth router for a given authentication backend.