Mark job as started.
(self)
| 83 | statistics: JobStatistics = field(default_factory=JobStatistics) |
| 84 | |
| 85 | def start(self): |
| 86 | """Mark job as started.""" |
| 87 | self.status = JobStatus.RUNNING |
| 88 | self.timestamp_start = datetime.now().isoformat() |
| 89 | |
| 90 | def complete(self): |
| 91 | """Mark job as completed.""" |