def stable_job(self, id, version, stable):
revert_json = {"<STR_LIT>": id,<EOL>"<STR_LIT>": version,<EOL>"<STR_LIT>": stable}<EOL>return self.request(id, "<STR_LIT>", json=revert_json, method="<STR_LIT>").json()<EOL>
This endpoint sets the job's stability.

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

            arguments:
              - id
              - version, Specifies the job version to revert to.
              - stable, Specifies whether the job should be marked as stable or not.
            returns: dict
            raises:
              - nomad.api.exceptions.BaseNomadException
              - nomad.api.exceptions.URLNotFoundNomadException