Dto Module
Holds the serializable shape of the totals, each total as a text block Dto, a state, a norm and whether the norm is custom, and converts totals to and from the Dto.
Types
| Type | Description |
|
|
|
|
A norm with its bounds; a bound is None when absent. |
|
|
A total as its text block Dto, its state as text, its norm, and whether the norm is custom. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
Returns the total state of its text, or DtoError.UnknownTotalState for an unknown text.
|
|
|
|
Reads a total from its Dto: UnknownTextKind for a block of an unknown kind, UnknownTotalState for an unknown state.
|
|
GenPRES