From 8c24b55fc756a7e680e26b28d0c41749637dfcbf Mon Sep 17 00:00:00 2001 From: Eytan Date: Mon, 2 May 2022 19:52:36 +0300 Subject: [PATCH 1/2] Spelling and grammar --- examples/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/completion.py b/examples/completion.py index 4da648df..888eee62 100644 --- a/examples/completion.py +++ b/examples/completion.py @@ -59,7 +59,7 @@ class Person(Document): def clean(self): """ Automatically construct the suggestion input and weight by taking all - possible permutation of Person's name as ``input`` and taking their + possible permutations of Person's name as ``input`` and taking their popularity as ``weight``. """ self.suggest = { From 29de2852abeb7b90f4583b18c8bb2c4a0836502c Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Mon, 15 Apr 2024 20:28:44 +0100 Subject: [PATCH 2/2] fix async example --- examples/async/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/async/completion.py b/examples/async/completion.py index 4f159b7b..cbd6b3e1 100644 --- a/examples/async/completion.py +++ b/examples/async/completion.py @@ -60,7 +60,7 @@ class Person(AsyncDocument): def clean(self): """ Automatically construct the suggestion input and weight by taking all - possible permutation of Person's name as ``input`` and taking their + possible permutations of Person's name as ``input`` and taking their popularity as ``weight``. """ self.suggest = {