def get_job(self, job_id):
        """GetJob
            https://apidocs.joyent.com/manta/api.html#GetJob
        with the added sugar that it will retrieve the archived job if it has
        been archived, per:
            https://apidocs.joyent.com/manta/jobs-reference.html#job-completion-and-archival
        """
        try:
            return RawMantaClient.get_job(self, job_id)
        except errors.MantaAPIError as ex:
            if ex.res.status != 404:
                raise
            # Job was archived, try to retrieve the archived data.
            mpath = "/%s/jobs/%s/job.json" % (self.account, job_id)
            content = self.get_object(mpath, accept='application/json')
            try:
                return json.loads(content)
            except ValueError:
                raise errors.MantaError('invalid job data: %r' % content)
def get_job ( self , job_id ) : try : return RawMantaClient . get_job ( self , job_id ) except errors . MantaAPIError as ex : if ex . res . status != 404 : raise mpath = "/%s/jobs/%s/job.json" % ( self . account , job_id ) content = self . get_object ( mpath , accept = 'application/json' ) try : return json . loads ( content ) except ValueError : raise errors . MantaError ( 'invalid job data: %r' % content )
GetJob
            https://apidocs.joyent.com/manta/api.html#GetJob
        with the added sugar that it will retrieve the archived job if it has
        been archived, per:
            https://apidocs.joyent.com/manta/jobs-reference.html#job-completion-and-archival