items: Add call number validation to ItemSchema #2080
tests.yml
on: pull_request
Node_Tests
1m 19s
Matrix: Python_Tests
Annotations
3 errors and 2 warnings
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/items/loaders.py#L1
pydocstyle-check
/home/runner/work/cds-ils/cds-ils/cds_ils/items/loaders.py:27 in public class `ItemSchemaV1`:
D101: Missing docstring in public class
|
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/items/loaders.py#L1
isort-check
"""CDS-ILS items loaders."""
-from marshmallow import fields, ValidationError
-
-from invenio_app_ils.records.loaders.schemas.identifiers import IdentifierSchema
from invenio_app_ils.items.loaders.jsonschemas.items import (
ItemSchemaV1 as ILSItemSchemaV1,
)
from invenio_app_ils.records.loaders import ils_marshmallow_loader
+from invenio_app_ils.records.loaders.schemas.identifiers import IdentifierSchema
+from marshmallow import ValidationError, fields
def validate_call_number_exists(identifiers):
|
Python_Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Node_Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Python_Tests (3.9, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|