From d1ce77da105ca9aae66c06a494d2a807c61fcdd3 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 29 Oct 2017 19:27:10 +0300 Subject: [PATCH] mypy stub update --- pyderasn.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyderasn.pyi b/pyderasn.pyi index 702a115..8d91745 100644 --- a/pyderasn.pyi +++ b/pyderasn.pyi @@ -118,6 +118,7 @@ class Obj: offset: int=..., leavemm: bool=..., decode_path: Tuple[str, ...]=..., + defines_by_path: Optional[Sequence[Tuple[Tuple[str, ...], Tuple[str, Dict[ObjectIdentifier, Obj]]]]], ) -> Tuple[Obj, bytes]: ... @property @@ -297,6 +298,7 @@ class OctetString(Obj): asn1_type_name = ... # type: str default = ... # type: "OctetString" optional = ... # type: bool + defined = ... # type: Tuple[ObjectIdentifier, Obj] def __init__( self, @@ -365,6 +367,7 @@ class ObjectIdentifier(Obj): def __init__( self, value: Optional[Union["ObjectIdentifier", str, Tuple[int, ...]]]=..., + defines: Optional[Sequence[Tuple[str, Dict["ObjectIdentifier", Obj]]]], impl: Optional[bytes]=..., expl: Optional[bytes]=..., default: Optional[Union["ObjectIdentifier", str, Tuple[int, ...]]]=..., @@ -727,6 +730,7 @@ class Any(Obj): asn1_type_name = ... # type: str default = ... # type: "Any" optional = ... # type: bool + defined = ... # type: Tuple[ObjectIdentifier, Obj] def __init__( self, -- 2.44.0