Add Job details view #78
Annotations
3 errors
|
Run tests:
invenio_jobs/models.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py 2024-05-29 14:25:58.919276+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py 2024-05-29 14:28:09.242976+00:00
@@ -44,11 +44,10 @@
# TODO: See if we move this to an API class
@Property
def last_run(self):
"""Last run of the job."""
return self.runs.order_by(Run.created.desc()).first()
-
class RunStatusEnum(enum.Enum):
"""Enumeration of a run's possible states."""
|
Run tests
The operation was canceled.
|
Loading