angelos.document.misc

Miscellaneous documents.

class angelos.document.misc.StoredLetter(nd: dict = {}, strict: bool = True)

Bases: angelos.document.document.Document

Short summary.

id

Description of attribute id.

Type

UuidField

type

Description of attribute type.

Type

TypeField

expires

Description of attribute expires.

Type

DateField

envelope

Description of attribute envelope.

Type

DocumentField

message

Description of attribute message.

Type

DocumentField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

period() → datetime.timedelta

The Delta period to expiry date.

Returns (datetime.timedelta):

The Delta period.