def process_status(self, job_id, status):
    'Process status information for the JOB'
    status = status.lower()
    if (status == PodStatus.PENDING):
        return State.QUEUED
    elif (status == PodStatus.FAILED):
        self.log.error('Event with job id %s Failed', job_id)
        return State.FAILED
    elif (status == PodStatus.SUCCEEDED):
        self.log.info('Event with job id %s Succeeded', job_id)
        return State.SUCCESS
    elif (status == PodStatus.RUNNING):
        return State.RUNNING
    else:
        self.log.error('Event: Invalid state %s on job %s', status, job_id)
        return State.FAILED
Process status information for the JOB
def process_status(self, job_id, status):
    
    status = status.lower()
    if (status == PodStatus.PENDING):
        return State.QUEUED
    elif (status == PodStatus.FAILED):
        self.log.error('Event with job id %s Failed', job_id)
        return State.FAILED
    elif (status == PodStatus.SUCCEEDED):
        self.log.info('Event with job id %s Succeeded', job_id)
        return State.SUCCESS
    elif (status == PodStatus.RUNNING):
        return State.RUNNING
    else:
        self.log.error('Event: Invalid state %s on job %s', status, job_id)
        return State.FAILED