qiskit/backends/ibmq/ibmqbackend.py
def retrieve_job(self, job_id):
        """Attempt to get the specified job by job_id

        Args:
            job_id (str): the job id of the job to retrieve

        Returns:
            IBMQJob: class instance

        Raises:
            IBMQBackendError: if retrieval failed
        """
        try:
            job_info = self._api.get_job(job_id)
            if 'error' in job_info:
                raise IBMQBackendError('Failed to get job "{}": {}'
                                       .format(job_id, job_info['error']))
        except ApiError as ex:
            raise IBMQBackendError('Failed to get job "{}":{}'
                                   .format(job_id, str(ex)))
        job_class = _job_class_from_job_response(job_info)
        is_device = not bool(self._configuration.get('simulator'))
        job = job_class(self, job_info.get('id'), self._api, is_device,
                        creation_date=job_info.get('creationDate'))
        return job
Attempt to get the specified job by job_id

        Args:
            job_id (str): the job id of the job to retrieve

        Returns:
            IBMQJob: class instance

        Raises:
            IBMQBackendError: if retrieval failed
        
Attempt to get the specified job by job_id
Attempt to get the specified job by job_id
def retrieve_job(self, job_id):
        try:
            job_info = self._api.get_job(job_id)
            if 'error' in job_info:
                raise IBMQBackendError('Failed to get job "{}": {}'
                                       .format(job_id, job_info['error']))
        except ApiError as ex:
            raise IBMQBackendError('Failed to get job "{}":{}'
                                   .format(job_id, str(ex)))
        job_class = _job_class_from_job_response(job_info)
        is_device = not bool(self._configuration.get('simulator'))
        job = job_class(self, job_info.get('id'), self._api, is_device,
                        creation_date=job_info.get('creationDate'))
        return job
def retrieve_job ( self , job_id ) : try : job_info = self . _api . get_job ( job_id ) if 'error' in job_info : raise IBMQBackendError ( 'Failed to get job "{}": {}' . format ( job_id , job_info [ 'error' ] ) ) except ApiError as ex : raise IBMQBackendError ( 'Failed to get job "{}":{}' . format ( job_id , str ( ex ) ) ) job_class = _job_class_from_job_response ( job_info ) is_device = not bool ( self . _configuration . get ( 'simulator' ) ) job = job_class ( self , job_info . get ( 'id' ) , self . _api , is_device , creation_date = job_info . get ( 'creationDate' ) ) return job
Attempt to get the specified job by job_id
Attempt to get the specified job by job_id
"""Attempt to get the specified job by job_id

        Args:
            job_id (str): the job id of the job to retrieve

        Returns:
            IBMQJob: class instance

        Raises:
            IBMQBackendError: if retrieval failed
        """
None
IBMQJob
if retrieval failed
if retrieval failed
IBMQBackendError
self
job_id
the job id of the job to retrieve
the job id of the job to retrieve