mypy stub update 1.4
authorSergey Matveev <stargrave@stargrave.org>
Sun, 29 Oct 2017 16:27:10 +0000 (19:27 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 29 Oct 2017 16:27:10 +0000 (19:27 +0300)
pyderasn.pyi

index 702a115ab7b59086988f01a39d807ea7896cb104..8d91745e7a5ca0a98cf9ea1c53e3d34997b9bd14 100644 (file)
@@ -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,