Add Job details view #76
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 13:18:49.132325+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py 2024-05-29 13:20:50.784795+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