mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Fix AuthenticationBackend typing
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user