From f95e5f5dfda15be4751540a5a557906862c9b7d5 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Mon, 16 Nov 2020 16:03:42 -0500 Subject: [PATCH] Allow kwargs for the mock search engine indexing. (#106) * Allow kwargs for the mock search engine indexing. * Update version --- search/tests/mock_search_engine.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/search/tests/mock_search_engine.py b/search/tests/mock_search_engine.py index 1711563b..750c38ea 100644 --- a/search/tests/mock_search_engine.py +++ b/search/tests/mock_search_engine.py @@ -318,7 +318,7 @@ def __init__(self, index=None): super(MockSearchEngine, self).__init__(index) MockSearchEngine.load_index(self.index_name) - def index(self, sources): # pylint: disable=arguments-differ + def index(self, sources, **kwargs): """ Add/update documents to the index. """ diff --git a/setup.py b/setup.py index 5bac26bb..2d0f26fe 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ def is_requirement(line): setup( name='edx-search', - version='2.0.0', + version='2.0.1', description='Search and index routines for index access', author='edX', author_email='oscm@edx.org',