/
Ao
/
MaxReport
Обзор
Документация
Войти
/
Ao
/
MaxReport
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
pgsql/pgAdmin 4/python/Lib/site-packages/passlib/_protocols.py
30 строк
562 B
AoAnima
first_commit
13 июл 2026, 17:47
13 июл 2026, 17:47
f1a670a
Код
Авторство
О чём код?
from __future__ import annotations from typing import TYPE_CHECKING, Callable, Protocol if TYPE_CHECKING: from typing_extensions import Buffer, Self class HashLike(Protocol): """Lifted from hashlib.pyi.""" @property def digest_size(self) -> int: ... @property def block_size(self) -> int: ... @property def name(self) -> str: ... def copy(self) -> Self: ... def digest(self) -> bytes: ... def hexdigest(self) -> str: ... def update(self, data: Buffer, /) -> None: ... SHAFunc = Callable[[], HashLike]