From 47a6bdf498d2c4b8dc1b95bf5de2c81811fb95c6 Mon Sep 17 00:00:00 2001 From: ellnix <103502144+ellnix@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:19:48 +0200 Subject: [PATCH] Revert dictionary parameter back to optional This reverts commit 52d352dbf3a7ecca9bf30814580d264871bcdfc9. See: https://github.com/meilisearch/meilisearch-python/pull/870#discussion_r1370167947 --- meilisearch/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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