config: use AND query parser instead of default operator OR #2081
tests.yml
on: pull_request
Node_Tests
1m 14s
Matrix: Python_Tests
Annotations
4 errors and 2 warnings
Python_Tests (3.9, postgresql14, opensearch2):
tests/api/test_ebook_links.py#L63
test_ebook_links
TypeError: query_params_modifier() takes 1 positional argument but 2 were given
|
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/config.py#L1
Black format check
--- /home/runner/work/cds-ils/cds-ils/cds_ils/config.py 2024-06-21 14:27:33.253512+00:00
+++ /home/runner/work/cds-ils/cds-ils/cds_ils/config.py 2024-06-21 14:32:05.251310+00:00
@@ -401,11 +401,13 @@
}
RECORDS_REST_ENDPOINTS[LITERATURE_PID_TYPE]["search_serializers"] = {
"application/json": "cds_ils.literature.serializers:json_v1_search",
"text/csv": "cds_ils.literature.serializers:csv_v1_search",
}
-RECORDS_REST_ENDPOINTS[LITERATURE_PID_TYPE]["search_query_parser"] = query_params_modifier
+RECORDS_REST_ENDPOINTS[LITERATURE_PID_TYPE][
+ "search_query_parser"
+] = query_params_modifier
RECORDS_REST_ENDPOINTS[SERIES_PID_TYPE]["record_serializers"] = {
"application/json": "cds_ils.series.serializers" ":json_v1_response"
}
RECORDS_REST_ENDPOINTS[SERIES_PID_TYPE]["search_serializers"] = {
"application/json": "cds_ils.series.serializers:json_v1_search",
|
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/config.py#L1
pydocstyle-check
/home/runner/work/cds-ils/cds-ils/cds_ils/config.py:88 in public function `query_params_modifier`:
D103: Missing docstring in public function
|
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/.
|