names: restrict specified identifiers from search endpoint #1715
Annotations
5 errors
Run tests:
tests/contrib/names/test_names_service.py#L72
test_simple_flow
TypeError: 'NoneType' object is not iterable
|
Run tests:
tests/contrib/names/test_names_service.py#L127
test_names_dereferenced
TypeError: 'NoneType' object is not iterable
|
Run tests:
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."""
|
Run tests:
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
|
Run tests
Process completed with exit code 1.
|
Loading