Retrieves the information for a single job.
(self, job_id: str)
| 95 | setattr(job, key, value) |
| 96 | |
| 97 | def get_job(self, job_id: str) -> Optional[JobInfo]: |
| 98 | """Retrieves the information for a single job.""" |
| 99 | with self.lock: |
| 100 | return self.jobs.get(job_id) |
| 101 | |
| 102 | def list_jobs(self) -> List[JobInfo]: |
| 103 | """Returns a list of all jobs currently in the manager.""" |