def init_events(self):
    self.events = EventManager(self, available_events)
    self.events.register('pre_execute', self._clear_warning_registry)
def init_events(self):
    self.events = EventManager(self, available_events)
    self.events.register('pre_execute', self._clear_warning_registry)