def clean(self) -> None:
        """
        Automatically construct the suggestion input and weight by taking all
        possible permutations of Person's name as ``input`` and taking their
        popularity as ``weight``.
        """
        self.suggest = {
            "input": [" ".join(p) for p in permutations(self.name.split())],
            "weight": self.popularity,
        }

        Automatically construct the suggestion input and weight by taking all
        possible permutations of Person's name as ``input`` and taking their
        popularity as ``weight``.
        
examples/dsl/async/completion.py