Public API¶
See also
Check out Examples derived from real and fully tested source code.
-
class
vo.value.Value(**kwargs)[source]¶ Basic implementation of DDD immutable Value Object.
Implementation provides:
- Immutability of once created object
- Comparison of two objects
- Conversion to other data types
Param: Any key=valuepairs.-
to_dict() → collections.OrderedDict[source]¶ Dump all values to OrderedDict.
All keys are sorted in ascending direction. Dump does not include hash and checksum.
Returns: dict with values Return type: collections.OrderedDict