mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from .base import Key
|
||||
@@ -52,8 +53,8 @@ class CryptographyAESKey(Key):
|
||||
MODES: Any
|
||||
def __init__(self, key, algorithm) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def encrypt(self, plain_text, aad: Any | None = ...): ...
|
||||
def decrypt(self, cipher_text, iv: Any | None = ..., aad: Any | None = ..., tag: Any | None = ...): ...
|
||||
def encrypt(self, plain_text, aad: Incomplete | None = ...): ...
|
||||
def decrypt(self, cipher_text, iv: Incomplete | None = ..., aad: Incomplete | None = ..., tag: Incomplete | None = ...): ...
|
||||
def wrap_key(self, key_data): ...
|
||||
def unwrap_key(self, wrapped_key): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user