aboutsummaryrefslogtreecommitdiff
path: root/docs/source/pyasn1/type/univ/set.rst
AgeCommit message (Collapse)Author
2019-08-25Deprecate `sizeSpec` in favor of `subtypeSpec` (#172)Ilya Etingof
This commit deprecates `subtypeSpec` attributes and keyword argument. It is now recommended to pass `ValueSizeConstraint`, as well as all other constraints, to `subtypeSpec`. By way of the change mentioned above, this commit fixes a design bug in a way of how the items assigned to constructed types are verified. Now if `Asn1Type`-based object is assigned, its compatibility is verified based on having all tags and constraint objects as the type in field definition. When a bare Python value is assigned, then field type object is cloned and initialized with the bare value (constraints verificaton would run at this moment).
2019-08-25Add `isInconsistent` property hook to all constructed types (#170)Ilya Etingof
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.
2019-07-13Add docstring for `.reset()` and `.clear()` methodsIlya Etingof
2019-07-09Add more docs on `OpenType` (#166)Ilya Etingof
This change adds more explanations and examples on ASN.1 ANY DEFINED BY syntax (OpenType).
2017-11-14serialization -> serialisation nitpicksIlya Etingof
2017-10-21Add more content to docs (#96)Ilya Etingof
* minor fixes to RsT docstrings * more explanations in the docs, better linkage * cosmetic fixes to NamedValues() docstring
2017-10-11Docs rearrangement (#88)Ilya Etingof
Docs rearranged, simplified and reworded, Sphinx theme changed.