mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Fix passlib.utils.handlers.TruncateMixin.using (#11229)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from passlib.hash import bcrypt
|
||||
|
||||
bcrypt.using(rounds=13).hash("password")
|
||||
@@ -27,7 +27,7 @@ class TruncateMixin(MinimalHandler, metaclass=abc.ABCMeta):
|
||||
truncate_error: ClassVar[bool]
|
||||
truncate_verify_reject: ClassVar[bool]
|
||||
@classmethod
|
||||
def using(cls, truncate_error: object = None, *, relaxed: bool = ...) -> type[Self]: ... # type: ignore[override]
|
||||
def using(cls, truncate_error: object = None, **kwds: Any) -> type[Self]: ... # type: ignore[override]
|
||||
|
||||
class GenericHandler(MinimalHandler):
|
||||
setting_kwds: ClassVar[tuple[str, ...]]
|
||||
|
||||
Reference in New Issue
Block a user