docs: def register(self, job):
          """Takes a job (unencoded) and adorns it with a unique key; this makes
          an entry in the database without any further specification."""
          with self.lock:
              self.cur.execute(
                  'insert into "jobs" ("name", "session", "status") '
                  'values (?, ?, ?)', (job.name, self.session, Status.INACTIVE))
              self.jobs[self.cur.lastrowid] = job
              return JobMessage(self.cur.lastrowid, job.node)