From 00a13cb1021ec521d14a98e16bd757a433a236e8 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 21 Feb 2024 12:32:31 +0500 Subject: [PATCH] build: adding support python 3.11 and 3.12. --- search/elastic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/search/elastic.py b/search/elastic.py index d63d26c3..60e5a4e0 100644 --- a/search/elastic.py +++ b/search/elastic.py @@ -469,6 +469,7 @@ def remove(self, doc_ids, **kwargs): log.exception("An error occurred while removing documents from the index: %r", valid_errors) raise + # pylint: disable=arguments-rename, unused-argument def search(self, query_string=None, field_dictionary=None, @@ -476,8 +477,8 @@ def search(self, exclude_dictionary=None, aggregation_terms=None, exclude_ids=None, - use_field_match=False, # pylint: disable=unused-argument - log_search_params=False, # pylint: disable=arguments-rename + use_field_match=False, + log_search_params=False, **kwargs): """ Implements call to search the index for the desired content.