mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-18 22:30:31 +08:00
Replace Incomplete | None = None in third party stubs (#14063)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any, ClassVar
|
||||
|
||||
from .base import Key
|
||||
@@ -54,10 +53,8 @@ class CryptographyAESKey(Key):
|
||||
IV_BYTE_LENGTH_MODE_MAP: ClassVar[dict[str, int]]
|
||||
def __init__(self, key, algorithm) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def encrypt(self, plain_text, aad: Incomplete | None = None): ...
|
||||
def decrypt(
|
||||
self, cipher_text, iv: Incomplete | None = None, aad: Incomplete | None = None, tag: Incomplete | None = None
|
||||
): ...
|
||||
def encrypt(self, plain_text, aad=None): ...
|
||||
def decrypt(self, cipher_text, iv=None, aad=None, tag=None): ...
|
||||
def wrap_key(self, key_data): ...
|
||||
def unwrap_key(self, wrapped_key): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user