Skip to content

Commit

Permalink
Merge #872
Browse files Browse the repository at this point in the history
872: Revert dictionary parameter back to optional r=sanders41 a=ellnix

This reverts commit 52d352d. See: #870 (comment)


Co-authored-by: ellnix <103502144+ellnix@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and ellnix authored Oct 24, 2023
2 parents 1c4ce20 + 47a6bdf commit 6b22f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meilisearch/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ def get_dictionary(self) -> List[str]:
"""
return self.http.get(self.__settings_url_for(self.config.paths.dictionary))

def update_dictionary(self, body: List[str]) -> TaskInfo:
def update_dictionary(self, body: Union[List[str], None]) -> TaskInfo:
"""Update the dictionary of the index.
Parameters
Expand Down

0 comments on commit 6b22f3d

Please sign in to comment.