Mark passlib as completed (#9302)

This commit is contained in:
Nikita Sobolev
2022-11-29 15:07:17 +03:00
committed by GitHub
parent 4366ff1e0b
commit df0a062b34
4 changed files with 26 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ hex_sha512: Any
class htdigest(uh.MinimalHandler):
name: ClassVar[str]
default_encoding: ClassVar[str]
setting_kwds: ClassVar[tuple[str, ...]]
context_kwds: ClassVar[tuple[str, ...]]
@classmethod
def hash(cls, secret, user, realm, encoding: Any | None = ...): ... # type: ignore[override]
@classmethod

View File

@@ -15,6 +15,8 @@ class unix_fallback(DisabledHash, uh.StaticHandler):
class unix_disabled(DisabledHash, uh.MinimalHandler):
name: ClassVar[str]
default_marker: ClassVar[str]
setting_kwds: ClassVar[tuple[str, ...]]
context_kwds: ClassVar[tuple[str, ...]]
@classmethod
def using(cls, marker: Any | None = ..., **kwds): ... # type: ignore[override]
@classmethod
@@ -33,6 +35,8 @@ class unix_disabled(DisabledHash, uh.MinimalHandler):
class plaintext(uh.MinimalHandler):
name: ClassVar[str]
default_encoding: ClassVar[str]
setting_kwds: ClassVar[tuple[str, ...]]
context_kwds: ClassVar[tuple[str, ...]]
@classmethod
def identify(cls, hash: str | bytes): ...
@classmethod