Returns a list of all jobs currently in the manager.
(self)
| 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.""" |
| 104 | with self.lock: |
| 105 | return list(self.jobs.values()) |
| 106 | |
| 107 | def find_active_job_by_path(self, path: str) -> Optional[JobInfo]: |
| 108 | """Finds the most recent, currently active (pending or running) job for a given path.""" |
no test coverage detected