From fc2b7ffa22050bd23aea9a784e7c2e308192ed9b Mon Sep 17 00:00:00 2001 From: Eytan Date: Mon, 15 Apr 2024 22:30:46 +0300 Subject: [PATCH] Spelling and grammar (#1585) * Spelling and grammar * fix async example --------- Co-authored-by: Miguel Grinberg (cherry picked from commit f56d3a52278e3caff045bfce320415526c56bb2d) --- examples/async/completion.py | 2 +- examples/completion.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = { 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 = {