def plan_job(self, id, job, diff=False, policy_override=False):
json_dict = {}<EOL>json_dict.update(job)<EOL>json_dict.setdefault('<STR_LIT>', diff)<EOL>json_dict.setdefault('<STR_LIT>', policy_override)<EOL>return self.request(id, "<STR_LIT>", json=json_dict, method="<STR_LIT>").json()<EOL>
Invoke a dry-run of the scheduler for the job.

           https://www.nomadproject.io/docs/http/job.html

            arguments:
              - id
              - job, dict
              - diff, boolean
              - policy_override, boolean
            returns: dict
            raises:
              - nomad.api.exceptions.BaseNomadException
              - nomad.api.exceptions.URLNotFoundNomadException