(self)
| 71 | """ |
| 72 | |
| 73 | def __init__(self): |
| 74 | # Lists for job management, accessed via a property to ensure they're |
| 75 | # up to date.x |
| 76 | self._running = [] |
| 77 | self._completed = [] |
| 78 | self._dead = [] |
| 79 | # A dict of all jobs, so users can easily access any of them |
| 80 | self.all = {} |
| 81 | # For reporting |
| 82 | self._comp_report = [] |
| 83 | self._dead_report = [] |
| 84 | # Store status codes locally for fast lookups |
| 85 | self._s_created = BackgroundJobBase.stat_created_c |
| 86 | self._s_running = BackgroundJobBase.stat_running_c |
| 87 | self._s_completed = BackgroundJobBase.stat_completed_c |
| 88 | self._s_dead = BackgroundJobBase.stat_dead_c |
| 89 | self._current_job_id = 0 |
| 90 | |
| 91 | @property |
| 92 | def running(self): |
nothing calls this directly
no outgoing calls
no test coverage detected