Skip to content

Commit

Permalink
Allow kwargs for the mock search engine indexing. (#106)
Browse files Browse the repository at this point in the history
* Allow kwargs for the mock search engine indexing.

* Update version
  • Loading branch information
dianakhuang authored Nov 16, 2020
1 parent 711e642 commit f95e5f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion search/tests/mock_search_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
Expand Down

0 comments on commit f95e5f5

Please sign in to comment.