Skip to content

Commit 715df65

Browse files
authored
Update type of get_session_auth_fallback_hash to the correct type (typeddjango#2407)
Signed-off-by: saJaeHyukc <[email protected]>
1 parent 1d3b071 commit 715df65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: django-stubs/contrib/auth/base_user.pyi

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, ClassVar, Literal, TypeVar, overload
1+
from typing import Any, ClassVar, Iterable, Literal, TypeVar, overload
22

33
from django.db import models
44
from django.db.models.base import Model
@@ -33,7 +33,7 @@ class AbstractBaseUser(models.Model):
3333
def set_unusable_password(self) -> None: ...
3434
def has_usable_password(self) -> bool: ...
3535
def get_session_auth_hash(self) -> str: ...
36-
def get_session_auth_fallback_hash(self) -> str: ...
36+
def get_session_auth_fallback_hash(self) -> Iterable[str]: ...
3737
@classmethod
3838
def get_email_field_name(cls) -> str: ...
3939
@classmethod

0 commit comments

Comments
 (0)