LedgerRecord

class app.portfolio.models.ledger.ledger_record.LedgerRecord[source]

Bases: LedgerImpl, EntityRecord[LedgerJournal], LedgerSchema

Inheritance diagram of LedgerRecord

Inheritance Diagram for LedgerRecord

Methods

model_post_init(context)

sort_key()

Attributes

model_config

Configuration for the model, should be a dictionary conforming to ConfigDict.

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True, 'serialize_by_alias': True, 'validate_assignment': True, 'validate_by_alias': True}

Configuration for the model, should be a dictionary conforming to ConfigDict.

model_post_init(context: Any) None
Parameters:

context (Any)

Return type:

None

sort_key() SupportsRichComparison[source]
Return type:

SupportsRichComparison