10.6.24. Class cerebro.events.EventChangingOfTasks

class cerebro.events.EventChangingOfTasks(event_type, event_id)[source]

Bases: cerebro.events.Event

The base class for the task properties change event (as for a single task so for several tasks at once). It grants access to the data of the modified tasks before writing it into the database.

Note

Several tasks may undergo one and the same properties change, and in this case only one event is generated.

Methods

tasks()[source]
Returns:a list of the tasks being modified by the user.
Return type:list(cerebro.aclasses.Task,)