

def AddJobStatus(self, job_urn, status):
    with self.ACLChecksDisabled():
        with aff4.FACTORY.OpenWithLock(job_urn, token=self.token) as job:
            job.Set(job.Schema.LAST_RUN_TIME(rdfvalue.RDFDatetime().Now()))
            self.Set(job.Schema.LAST_RUN_STATUS(status=status))

dataset/ETHPy150Open google/grr/grr/gui/plugins/cron_view_test.py TestCronView.AddJobStatus/VarMisuse@65/84 `job`->`self`