

def _record_cancel(self, job_id):
    try:
        job_id._job_directory(job_id).store_metadata(JOB_FILE_CANCELLED, True)
    except Exception:
        log.info(('Failed to recod job with id %s was cancelled.' % job_id))

dataset/ETHPy150Open galaxyproject/pulsar/pulsar/managers/base/directory.py DirectoryBaseManager._record_cancel/VarMisuse@16/22 `self`->`job_id`