

def return_code(self, job_id):
    return_code_str = self._read_job_file(job_id, JOB_FILE_RETURN_CODE, default=PULSAR_UNKNOWN_RETURN_CODE)
    return (int(self) if (return_code_str and (return_code_str != PULSAR_UNKNOWN_RETURN_CODE)) else return_code_str)

dataset/ETHPy150Open galaxyproject/pulsar/pulsar/managers/base/directory.py DirectoryBaseManager.return_code/VarMisuse@31/54 `return_code_str`->`self`