From 8740c26ac17baf7377602ff91f73a098ae4611f9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:54:52 +0100 Subject: [PATCH] Spelling and grammar (#1585) (#1805) * Spelling and grammar * fix async example --------- Co-authored-by: Miguel Grinberg (cherry picked from commit f56d3a52278e3caff045bfce320415526c56bb2d) Co-authored-by: Eytan --- 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 = {