Skip to content

names: restrict specified identifiers from search endpoint #1715

names: restrict specified identifiers from search endpoint

names: restrict specified identifiers from search endpoint #1715

Triggered via pull request December 10, 2024 13:30
Status Failure
Total duration 6m 46s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Python / Tests (3.9, postgresql14, opensearch2): tests/contrib/names/test_names_service.py#L72
test_simple_flow TypeError: 'NoneType' object is not iterable
Python / Tests (3.9, postgresql14, opensearch2): tests/contrib/names/test_names_service.py#L127
test_names_dereferenced TypeError: 'NoneType' object is not iterable
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/contrib/names/config.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/config.py 2024-12-10 13:30:25.651220+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/config.py 2024-12-10 13:35:54.346484+00:00 @@ -22,11 +22,13 @@ from ...services.components import PIDComponent names_schemes = LocalProxy(lambda: current_app.config["VOCABULARIES_NAMES_SCHEMES"]) -restricted_names_schemes = LocalProxy(lambda: current_app.config["VOCABULARIES_NAMES_RESTRICTED_SCHEMES"]) +restricted_names_schemes = LocalProxy( + lambda: current_app.config["VOCABULARIES_NAMES_RESTRICTED_SCHEMES"] +) class NamesSearchOptions(SearchOptions): """Search options."""
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/contrib/names/schema.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/schema.py:109 in public method `filter_exposed_identifiers`: D102: Missing docstring in public method
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): tests/contrib/names/test_names_service.py#L72
test_simple_flow TypeError: 'NoneType' object is not iterable
Python / Tests (3.12, postgresql14, opensearch2): tests/contrib/names/test_names_service.py#L127
test_names_dereferenced TypeError: 'NoneType' object is not iterable
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/contrib/names/config.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/config.py 2024-12-10 13:30:25.975624+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/config.py 2024-12-10 13:36:15.561125+00:00 @@ -22,11 +22,13 @@ from ...services.components import PIDComponent names_schemes = LocalProxy(lambda: current_app.config["VOCABULARIES_NAMES_SCHEMES"]) -restricted_names_schemes = LocalProxy(lambda: current_app.config["VOCABULARIES_NAMES_RESTRICTED_SCHEMES"]) +restricted_names_schemes = LocalProxy( + lambda: current_app.config["VOCABULARIES_NAMES_RESTRICTED_SCHEMES"] +) class NamesSearchOptions(SearchOptions): """Search options."""
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/contrib/names/schema.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/schema.py:109 in public method `filter_exposed_identifiers`: D102: Missing docstring in public method
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.