Add Job details view #78
Annotations
9 errors
Tests (3.9, postgresql14, opensearch2, 18.x):
invenio_jobs/models.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py 2024-05-29 14:25:59.221872+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py 2024-05-29 14:27:48.895626+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."""
|
Tests (3.9, postgresql14, opensearch2, 18.x)
Process completed with exit code 1.
|
Tests (3.9, postgresql14, opensearch2, 20.x)
The job was canceled because "_3_9_postgresql14_opensea" failed.
|
Tests (3.9, postgresql14, opensearch2, 20.x)
The operation was canceled.
|
Tests (3.12, postgresql14, opensearch2, 20.x)
The job was canceled because "_3_9_postgresql14_opensea" failed.
|
Tests (3.12, postgresql14, opensearch2, 20.x):
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."""
|
Tests (3.12, postgresql14, opensearch2, 20.x)
The operation was canceled.
|
Tests (3.12, postgresql14, opensearch2, 18.x)
The job was canceled because "_3_9_postgresql14_opensea" failed.
|
Tests (3.12, postgresql14, opensearch2, 18.x)
The operation was canceled.
|