mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-01 12:56:51 +08:00
Resolve some stubtest allowlist entries by marking params as keyword-only (#12581)
This commit is contained in:
@@ -5,9 +5,3 @@ pyasn1.codec.native.encoder.SetEncoder.protoDict
|
||||
# Attempted "__ne__" operation on ASN.1 schema object
|
||||
pyasn1.type.base
|
||||
pyasn1.type.univ
|
||||
|
||||
# Specifying kwargs
|
||||
pyasn1.codec.ber.decoder.Decoder.__call__
|
||||
pyasn1.codec.ber.decoder.StreamingDecoder.__init__
|
||||
pyasn1.codec.native.decoder.Decoder.__init__
|
||||
pyasn1.codec.native.encoder.Encoder.__init__
|
||||
|
||||
@@ -346,11 +346,11 @@ decode: Decoder
|
||||
class StreamingDecoder:
|
||||
SINGLE_ITEM_DECODER: type[SingleItemDecoder]
|
||||
|
||||
def __init__(self, substrate, asn1Spec=None, tagMap=..., typeMap=..., **ignored: Unused) -> None: ...
|
||||
def __init__(self, substrate, asn1Spec=None, *, tagMap=..., typeMap=..., **ignored: Unused) -> None: ...
|
||||
def __iter__(self): ...
|
||||
|
||||
class Decoder:
|
||||
STREAMING_DECODER: type[StreamingDecoder]
|
||||
|
||||
@classmethod
|
||||
def __call__(cls, substrate, asn1Spec=None, tagMap=..., typeMap=..., **ignored: Unused): ...
|
||||
def __call__(cls, substrate, asn1Spec=None, *, tagMap=..., typeMap=..., **ignored: Unused): ...
|
||||
|
||||
@@ -36,7 +36,7 @@ class SingleItemDecoder:
|
||||
class Decoder:
|
||||
SINGLE_ITEM_DECODER: type[SingleItemDecoder]
|
||||
|
||||
def __init__(self, tagMap=..., typeMap=..., **options: Unused) -> None: ...
|
||||
def __init__(self, *, tagMap=..., typeMap=..., **options: Unused) -> None: ...
|
||||
def __call__(self, pyObject, asn1Spec=None, **kwargs): ...
|
||||
|
||||
decode: Decoder
|
||||
|
||||
@@ -65,7 +65,7 @@ class SingleItemEncoder:
|
||||
class Encoder:
|
||||
SINGLE_ITEM_ENCODER: type[SingleItemEncoder]
|
||||
|
||||
def __init__(self, tagMap=..., typeMap=..., **options: Unused): ...
|
||||
def __init__(self, *, tagMap=..., typeMap=..., **options: Unused): ...
|
||||
def __call__(self, pyObject, asn1Spec=None, **options): ...
|
||||
|
||||
encode: SingleItemEncoder
|
||||
|
||||
Reference in New Issue
Block a user