code: def _set_status_self(self, key=JobDetails.topkey, status=JobStatus.unknown):
          
          fullkey = JobDetails.make_fullkey(self.full_linkname, key)
          if fullkey in self.jobs:
              self.jobs[fullkey].status = status
              if self._job_archive:
                  self._job_archive.register_job(self.jobs[fullkey])
          else:
              self._register_self('dummy.log', key, status)
docs: Set the status of this job, both in self.jobs and
          in the `JobArchive` if it is present.