diff --git a/meilisearch/index.py b/meilisearch/index.py index d90d93b5..63a8ce4b 100644 --- a/meilisearch/index.py +++ b/meilisearch/index.py @@ -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