Add tasks endpoint. #13
Annotations
15 errors
Tests (3.9, postgresql14, opensearch2, 20.x):
invenio_jobs/ext.py#L1
isort-check
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
|
Tests (3.9, postgresql14, opensearch2, 20.x):
invenio_jobs/ext.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:48:07.302084+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:49:57.843567+00:00
@@ -8,11 +8,16 @@
"""Jobs extension."""
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
class InvenioJobs:
"""Invenio-Jobs extension."""
@@ -41,11 +46,13 @@
self.tasks_service = TasksService(TasksServiceConfig.build(app))
def init_resource(self, app):
"""Initialize resources."""
self.jobs_resource = JobResource(JobResourceConfig.build(app), self.service)
- self.tasks_resource = TasksResource(TasksResourceConfig.build(app), self.tasks_service)
+ self.tasks_resource = TasksResource(
+ TasksResourceConfig.build(app), self.tasks_service
+ )
def finalize_app(app):
"""Finalize app."""
rr_ext = app.extensions["invenio-records-resources"]
|
Tests (3.9, postgresql14, opensearch2, 20.x)
Process completed with exit code 1.
|
Tests (3.9, postgresql14, opensearch2, 18.x)
The job was canceled because "_3_9_postgresql14_opens_2" failed.
|
Tests (3.9, postgresql14, opensearch2, 18.x):
invenio_jobs/ext.py#L1
isort-check
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
|
Tests (3.9, postgresql14, opensearch2, 18.x):
invenio_jobs/ext.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:48:08.266963+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:49:59.063244+00:00
@@ -8,11 +8,16 @@
"""Jobs extension."""
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
class InvenioJobs:
"""Invenio-Jobs extension."""
@@ -41,11 +46,13 @@
self.tasks_service = TasksService(TasksServiceConfig.build(app))
def init_resource(self, app):
"""Initialize resources."""
self.jobs_resource = JobResource(JobResourceConfig.build(app), self.service)
- self.tasks_resource = TasksResource(TasksResourceConfig.build(app), self.tasks_service)
+ self.tasks_resource = TasksResource(
+ TasksResourceConfig.build(app), self.tasks_service
+ )
def finalize_app(app):
"""Finalize app."""
rr_ext = app.extensions["invenio-records-resources"]
|
Tests (3.9, postgresql14, opensearch2, 18.x)
Process completed with exit code 1.
|
Tests (3.12, postgresql14, opensearch2, 18.x)
The job was canceled because "_3_9_postgresql14_opens_2" failed.
|
Tests (3.12, postgresql14, opensearch2, 18.x):
invenio_jobs/ext.py#L1
isort-check
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
|
Tests (3.12, postgresql14, opensearch2, 18.x):
invenio_jobs/ext.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:48:08.462178+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:50:09.906088+00:00
@@ -8,11 +8,16 @@
"""Jobs extension."""
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
class InvenioJobs:
"""Invenio-Jobs extension."""
@@ -41,11 +46,13 @@
self.tasks_service = TasksService(TasksServiceConfig.build(app))
def init_resource(self, app):
"""Initialize resources."""
self.jobs_resource = JobResource(JobResourceConfig.build(app), self.service)
- self.tasks_resource = TasksResource(TasksResourceConfig.build(app), self.tasks_service)
+ self.tasks_resource = TasksResource(
+ TasksResourceConfig.build(app), self.tasks_service
+ )
def finalize_app(app):
"""Finalize app."""
rr_ext = app.extensions["invenio-records-resources"]
|
Tests (3.12, postgresql14, opensearch2, 18.x)
The operation was canceled.
|
Tests (3.12, postgresql14, opensearch2, 20.x)
The job was canceled because "_3_9_postgresql14_opens_2" failed.
|
Tests (3.12, postgresql14, opensearch2, 20.x):
invenio_jobs/ext.py#L1
isort-check
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
|
Tests (3.12, postgresql14, opensearch2, 20.x):
invenio_jobs/ext.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:48:08.789591+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/ext.py 2024-05-13 13:50:14.268104+00:00
@@ -8,11 +8,16 @@
"""Jobs extension."""
from invenio_i18n import gettext as _
from . import config
-from .resources import JobResource, JobResourceConfig, TasksResource, TasksResourceConfig
+from .resources import (
+ JobResource,
+ JobResourceConfig,
+ TasksResource,
+ TasksResourceConfig,
+)
from .services import JobService, JobServiceConfig, TasksService, TasksServiceConfig
class InvenioJobs:
"""Invenio-Jobs extension."""
@@ -41,11 +46,13 @@
self.tasks_service = TasksService(TasksServiceConfig.build(app))
def init_resource(self, app):
"""Initialize resources."""
self.jobs_resource = JobResource(JobResourceConfig.build(app), self.service)
- self.tasks_resource = TasksResource(TasksResourceConfig.build(app), self.tasks_service)
+ self.tasks_resource = TasksResource(
+ TasksResourceConfig.build(app), self.tasks_service
+ )
def finalize_app(app):
"""Finalize app."""
rr_ext = app.extensions["invenio-records-resources"]
|
Tests (3.12, postgresql14, opensearch2, 20.x)
The operation was canceled.
|