Skip to content

Commit 6b22f3d

Browse files
Merge #872
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>
2 parents 1c4ce20 + 47a6bdf commit 6b22f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ def get_dictionary(self) -> List[str]:
15941594
"""
15951595
return self.http.get(self.__settings_url_for(self.config.paths.dictionary))
15961596

1597-
def update_dictionary(self, body: List[str]) -> TaskInfo:
1597+
def update_dictionary(self, body: Union[List[str], None]) -> TaskInfo:
15981598
"""Update the dictionary of the index.
15991599
16001600
Parameters

0 commit comments

Comments
 (0)