def full_status(manager, job_status, job_id):
    if [status.COMPLETE, status.CANCELLED] in job_status:
        full_status = __job_complete_dict(job_status, manager, job_id)
    else:
        full_status = {"complete": "false", "status": job_status, "job_id": job_id}
    return full_status
dataset/ETHPy150Open galaxyproject/pulsar/pulsar/manager_endpoint_util.py/full_status/swapped operands of `in`