10.6.1. Class cerebro.events.AfterEventChangingOfAttachments¶
The class for the property change event - for a single attachment or several attachments at once. It grants access to the data of the modified attachments after writing it into the database.
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.
def after_event(event): if event.event_type() == event.EVENT_CHANGING_OF_ATTACHMENT_HASHTAGS: ...