mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Replication of original fix for #1262 to the AccessTokenProtocol class.
This commit is contained in:
@@ -11,8 +11,5 @@ class AccessTokenProtocol(Protocol[models.ID]):
|
||||
user_id: models.ID
|
||||
created_at: datetime
|
||||
|
||||
def __init__(self, *args, **kwargs) -> None:
|
||||
... # pragma: no cover
|
||||
|
||||
|
||||
AP = TypeVar("AP", bound=AccessTokenProtocol)
|
||||
|
||||
Reference in New Issue
Block a user