diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-08-25 14:35:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-25 14:35:44 +0200 |
commit | 66afc8921e4f5d3a41e407ab6d95ce7e4ec5383a (patch) | |
tree | e552f03ee7846566b4b036c192d9ed326a9e74a5 /docs/source/pyasn1/type/base/constructedasn1type.rst | |
parent | ec580e545ef25f117573014d40ca5c512e58dbf3 (diff) | |
download | pyasn1-66afc8921e4f5d3a41e407ab6d95ce7e4ec5383a.tar.gz |
Add `isInconsistent` property hook to all constructed types (#170)
Added `isInconsistent` property to all constructed types. This property
conceptually replaces `verifySizeSpec` method to serve a more general
purpose e.g. ensuring all required fields are in a good shape. By
default this check invokes subtype constraints verification and is run
by codecs on value de/serialisation.
Diffstat (limited to 'docs/source/pyasn1/type/base/constructedasn1type.rst')
-rw-r--r-- | docs/source/pyasn1/type/base/constructedasn1type.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/pyasn1/type/base/constructedasn1type.rst b/docs/source/pyasn1/type/base/constructedasn1type.rst index 54d828f..169552f 100644 --- a/docs/source/pyasn1/type/base/constructedasn1type.rst +++ b/docs/source/pyasn1/type/base/constructedasn1type.rst @@ -7,4 +7,4 @@ ------------ .. autoclass:: pyasn1.type.base.ConstructedAsn1Type(tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), sizeSpec=ConstraintsIntersection(), componentType=None) - :members: isSameTypeWith, isSuperTypeOf, tagSet, effectiveTagSet, tagMap, subtypeSpec + :members: isSameTypeWith, isSuperTypeOf, tagSet, effectiveTagSet, tagMap, subtypeSpec, isInconsistent |