Fix AuthenticationBackend typing

This commit is contained in:
François Voron
2022-05-05 18:16:16 +02:00
parent 685984e6e3
commit 5f57c75813

View File

@@ -14,7 +14,7 @@ from fastapi_users.authentication.transport import (
from fastapi_users.types import DependencyCallable
class AuthenticationBackend(Generic[models.UP]):
class AuthenticationBackend(Generic[models.UP, models.ID]):
"""
Combination of an authentication transport and strategy.