LedgerJournal

class app.portfolio.models.ledger.ledger_journal.LedgerJournal[source]

Bases: LedgerImpl[OrderedViewMutableSet[Transaction]], Journal, MutableSet[Transaction]

Inheritance diagram of LedgerJournal

Inheritance Diagram for LedgerJournal

Methods

add(value)

discard(value)

model_post_init(context)

Attributes

model_config

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

record

instance_parent_weakref

add(value: __annotationlib_name_1__ | Uid) None[source]
Parameters:

value (__annotationlib_name_1__ | Uid)

Return type:

None

discard(value: __annotationlib_name_1__ | Uid) None[source]
Parameters:

value (__annotationlib_name_1__ | Uid)

Return type:

None

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