10.6.6. Class cerebro.events.AfterEventCreationOfMessage

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

Bases: cerebro.events.AfterEventMessage

The class for the task creation event. Grants access to the data of a newly created message after it is written into the database.


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_CREATION_OF_MESSAGE: