10.6.4. Class cerebro.events.AfterEventChangingOfTasks

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

Bases: cerebro.events.EventChangingOfTasks

The class for the property change event - for a single task or several tasks at once. It grants access to the data of the modified tasks after writing it into the database.

Warning

this class is used to handle the changes of most part of the properties, but not all of them. In order to handle, for example, tag modifying, some other classes should be used. See the complete list of event classes.

Methods

The class object is input into the following function: after_event of the module event.

def after_event(event): 
        if event.event_type() == event.EVENT_CHANGING_OF_TASKS_PROGRESS:
                ...