<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def WaitForJobChange(r, job_id, fields, prev_job_info, prev_log_serial):
 """ Waits for job changes. @type job_id: int @param job_id: Job ID for which to wait """


    body = {
        "fields": fields,
        "previous_job_info": prev_job_info,
        "previous_log_serial": prev_log_serial,
    }

    return r.request("get", "/2/jobs/%s/wait" % job_id, content=body)