code: def _archive_self(self, logfile, key=JobDetails.topkey, status=JobStatus.unknown):
          
          self._register_self(logfile, key, status)
          if self._job_archive is None:
              return
          self._job_archive.register_jobs(self.get_jobs())
docs: Write info about a job run by this `Link` to the job archive