Repository navigation
Releases: Techcable/dataclass-deser
Releases · Techcable/dataclass-deser
Release list
Support customizing deserialization, optionals, and dicts
This allows customizing deserialization with DeserializeCustom, and adds builtin support for a number of additional types.
Features
- Add
DeserializeCustomabstract class for customizing deserialization. - Support deserializing
dict[K, V] - Support deserializing
Optional[T]- Other
Uniontypes are currently unsupported
- Other
- Support default/optional fields in dataclasses
Fixes
- Fix accidental reversal of location keys
- Improve
DeserErrortracking of locations by accepting an explicitctxparameter - Move deserialization code into seperate
desermodule - Support deferred evaluation of annotations (#1)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
Initial prerelease
This is the initial prerelease, with only the most basic functionality.
Documentation is almost completely lacking and there are a bunch of limitations.
This is mostly just to reserve space on pypi.