def __repr__(self): message_snippet = textwrap.shorten(self.message, width=30) return f'<Question {self.uid} {message_snippet!r}>'