From 5f57c75813dca191291215e2bd740107a9a1a7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Thu, 5 May 2022 18:16:16 +0200 Subject: [PATCH] Fix AuthenticationBackend typing --- fastapi_users/authentication/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi_users/authentication/backend.py b/fastapi_users/authentication/backend.py index 09861210..b02ca98d 100644 --- a/fastapi_users/authentication/backend.py +++ b/fastapi_users/authentication/backend.py @@ -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.