mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 09:48:40 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -135,7 +135,7 @@ class JSONWebSignatureSerializer(Serializer):
|
||||
def load_payload(
|
||||
self, payload: Text | bytes, serializer: _serializer | None = ..., return_header: bool = ...
|
||||
) -> Any: ... # morally -> Any | Tuple[Any, MutableMapping[str, Any]]
|
||||
def dump_payload(self, header: Mapping[str, Any], obj: Any) -> bytes: ... # type: ignore
|
||||
def dump_payload(self, header: Mapping[str, Any], obj: Any) -> bytes: ... # type: ignore[override]
|
||||
def make_algorithm(self, algorithm_name: Text) -> SigningAlgorithm: ...
|
||||
def make_signer(self, salt: Text | bytes | None = ..., algorithm: SigningAlgorithm = ...) -> Signer: ...
|
||||
def make_header(self, header_fields: Mapping[str, Any] | None) -> MutableMapping[str, Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user