def _task_status(self, event):
    self.log.info('Event: %s had an event of type %s', event.metadata.name, event.status.phase)
    status = self.process_status(event.metadata.name, event.status.phase)
    return status
def _task_status(self, event):
    self.log.info('Event: %s had an event of type %s', event.metadata.name, event.status.phase)
    status = self.process_status(event.metadata.name, event.status.phase)
    return status