Event.filter

classmethod Event.filter(event_params, event)[source]

Event filter function

This function should be implemented for each event. The default implementation ignores the event_params and simply passes if the type matches.