diff options
author | 2021-05-13 15:24:40 -0300 | |
---|---|---|
committer | 2021-05-13 15:24:40 -0300 | |
commit | cf513ebd52cb337f760ae34e33380d1f09285c73 (patch) | |
tree | d1fd5570a2cbf81f625f3159cf580f69a07826f8 | |
parent | add a docstring to the dataclass (diff) |
fix the QuizEntry dataclass
-rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index b5a18516..4d18eaef 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -63,7 +63,8 @@ UNITS_TO_BASE_UNITS = { @dataclass(frozen=True) class QuizEntry: - """Dataclass for a quiz entry (a question and a string containing answers separated by commas)""" + """Dataclass for a quiz entry (a question and a string containing answers separated by commas).""" + question: str answer: str |