Releases: brandjon/simplestruct
Releases · brandjon/simplestruct
v0.2.2
v0.2.1
- changed type checking keyword argument names:
opt
->or_none
andnodups
->unique
- improved error messages for constructing Structs
- significant updates to readme and examples
- using
opt=True
onTypedField
no longer implies thatNone
is
the default value - made mixin version of
checktype()
andchecktype_seq()
- added
check()
andnormalize()
hooks toTypedField
- accessing fields descriptors from classes is now permissible
- added support for default values in general, and optional values
for type-checked fields - fixed
__repr__()
on recursive Structs