mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Replace Any with Incomplete in many places (#9565)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any, ClassVar
|
||||
from typing import ClassVar
|
||||
|
||||
import passlib.utils.handlers as uh
|
||||
|
||||
@@ -13,7 +13,7 @@ class scram(uh.HasRounds, uh.HasRawSalt, uh.HasRawChecksum, uh.GenericHandler):
|
||||
max_rounds: ClassVar[int]
|
||||
rounds_cost: ClassVar[str]
|
||||
default_algs: ClassVar[list[str]]
|
||||
algs: Any | None
|
||||
algs: Incomplete | None
|
||||
@classmethod
|
||||
def extract_digest_info(cls, hash, alg): ...
|
||||
@classmethod
|
||||
|
||||
@@ -66,7 +66,7 @@ class HasEncodingContext(GenericHandler):
|
||||
def __init__(self, encoding: str | None = ..., **kwds) -> None: ...
|
||||
|
||||
class HasUserContext(GenericHandler):
|
||||
user: Any | None
|
||||
user: Incomplete | None
|
||||
def __init__(self, user: Incomplete | None = ..., **kwds) -> None: ...
|
||||
@classmethod
|
||||
def hash(cls, secret, user: Incomplete | None = ..., **context): ...
|
||||
|
||||
Reference in New Issue
Block a user