Job registry #202
Annotations
4 errors
tests/resources/test_resources.py#L132
test_simple_flow
AssertionError: assert {'args': {'ty...8ba27b2', ...} == {'args': {'ar...8ba27b2', ...}
Omitting 14 identical items, use -vv to show
Differing items:
{'args': {'type': 'custom'}} != {'args': {'args': {}, 'type': 'custom'}}
Full diff:
{
- 'args': {'args': {}, 'type': 'custom'},
? ------------
+ 'args': {'type': 'custom'},
'created': '2024-09-11T07:45:09.178890+00:00',
'finished_at': None,
'id': '8ad7343a-4505-412b-b4f9-d9b0d8ba27b2',
'job_id': '402575f1-f1ff-4b33-bcdf-7e4ba99a5a1a',
'links': {'logs': 'https://127.0.0.1:5000/api/jobs/402575f1-f1ff-4b33-bcdf-7e4ba99a5a1a/runs/8ad7343a-4505-412b-b4f9-d9b0d8ba27b2/logs',
'self': 'https://127.0.0.1:5000/api/jobs/402575f1-f1ff-4b33-bcdf-7e4ba99a5a1a/runs/8ad7343a-4505-412b-b4f9-d9b0d8ba27b2',
'stop': 'https://127.0.0.1:5000/api/jobs/402575f1-f1ff-4b33-bcdf-7e4ba99a5a1a/runs/8ad7343a-4505-412b-b4f9-d9b0d8ba27b2/actions/stop'},
'message': None,
'queue': 'celery',
'started_at': None,
'started_by': {'id': '1',
'identities': {},
'is_current_user': True,
'links': {},
'profile': {'affiliations': 'CERN', 'full_name': 'User'},
'type': 'user',
'username': 'user'},
'started_by_id': 1,
'status': 'QUEUED',
'task_id': 'f032cb1f-8bf8-4e58-a74c-80474de039c3',
'title': 'Manually triggered run',
'updated': '2024-09-11T07:45:09.178894+00:00',
}
|
invenio_jobs/models.py#L1
pydocstyle-check
/home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/models.py:155 in public method `generate_args`:
D400: First line should end with a period (not 's')
|
invenio_jobs/services/schema.py#L1
isort-check
from invenio_i18n import lazy_gettext as _
from invenio_users_resources.services import schemas as user_schemas
-from marshmallow import (
- EXCLUDE,
- Schema,
- fields,
- post_load,
- pre_dump,
- pre_load,
- validate,
-)
+from marshmallow import EXCLUDE, Schema, fields, post_load, pre_dump, pre_load, validate
from marshmallow_oneofschema import OneOfSchema
from marshmallow_utils.fields import SanitizedUnicode, TZDateTime
from marshmallow_utils.permissions import FieldPermissionsMixin
|
|
This job failed
Loading