code: def stats_job(self, job_id):
          
          with self._sock_ctx() as socket:
              if hasattr(job_id, 'job_id'):
                  job_id = job_id.job_id
              self._send_message('stats-job {0}'.format(job_id), socket)
              body = self._receive_data_with_prefix(b'OK', socket)
              job_status = yaml_load(body)
              return job_status
docs: Fetch statistics about a single job
  
          :rtype: dict