models.recycled

Represents an account model that has been recycled.

Module Contents

Classes

Recycled

Represents an accounting model that has been recycled.

class models.recycled.Recycled

Bases: python_accounting.mixins.IsolatingMixin, models.base.Base

Represents an accounting model that has been recycled.

recycled_id: sqlalchemy.orm.Mapped[int]

The id of the model that has been recycled.

Type:

(int)

restored_at: sqlalchemy.orm.Mapped[datetime.datetime]

The time the model was restored.

Type:

(datetime, optional)

subject: sqlalchemy.orm.Mapped[Recyclable]

The model that was recycled/restored.

Type:

(Recyclable)

__repr__() str