Bases: object
Adds statusabilities to the object.
This mixin adds status and statusList variables to the list. Any object that needs a status and a corresponding status list can include this mixin.
When mixed with a class which don’t have an __init__ method, the mixin supplies one, and in this case the parameters below must be defined.
Parameters: |
|
---|
Methods
__init__(**kwargs[, status, status_list]) |
Attributes
status | The current status index of the object. |
status_list | The list of statuses that this object can have. |
The current status index of the object.
This is an integer value and shows the index of the Status object in the StatusList of this object.