def job_attempts(self, job_id):
pass<EOL>
With the job attempts API, you can obtain a collection of resources
that represent the job attempts.

:param str job_id: The job id
:returns: API response object with JSON data
:rtype: :py:class:`yarn_api_client.base.Response`