Skip to content

Commit 47a6bdf

Browse files
committed
Revert dictionary parameter back to optional
This reverts commit 52d352d. See: #870 (comment)
1 parent 1c4ce20 commit 47a6bdf

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)