diff --git a/search_service/api/table.py b/search_service/api/table.py index 69778df2..221365dd 100644 --- a/search_service/api/table.py +++ b/search_service/api/table.py @@ -1,5 +1,5 @@ from http import HTTPStatus -from typing import Iterable, Any +from typing import Any, Dict, Iterable # noqa: F401 from flask_restful import Resource, fields, marshal_with, reqparse from flasgger import swag_from diff --git a/search_service/proxy/elasticsearch.py b/search_service/proxy/elasticsearch.py index afc8734d..b3b862e1 100644 --- a/search_service/proxy/elasticsearch.py +++ b/search_service/proxy/elasticsearch.py @@ -433,7 +433,7 @@ def convert_query_json_to_query_dsl(self, *, :param search_request: :return: The search engine query DSL """ - filter_list = search_request.get('filters') # type: Dict[str, List[str]] + filter_list = search_request.get('filters') add_query = '' query_dsl = ''