From b090b15b4df08b7908cca6016a65802fc779cf3c Mon Sep 17 00:00:00 2001 From: Objectivitix <79152594+Objectivitix@users.noreply.github.com> Date: Thu, 13 May 2021 15:23:15 -0300 Subject: add a docstring to the dataclass --- bot/exts/evergreen/trivia_quiz.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bot') diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index 7aab8b87..b5a18516 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -63,6 +63,7 @@ UNITS_TO_BASE_UNITS = { @dataclass(frozen=True) class QuizEntry: + """Dataclass for a quiz entry (a question and a string containing answers separated by commas)""" question: str answer: str -- cgit v1.2.3