| Conditions | 1 |
| Total Lines | 15 |
| Code Lines | 14 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | # future: report false positive to JetBrains developers |
||
| 6 | # noinspection PyPackages |
||
| 7 | from .grading_types import GradingType # type: ignore |
||
| 8 | |||
| 9 | # noinspection PyPackages |
||
| 10 | # future: report false positive to mypy developers |
||
| 11 | from .question_types import QuestionType # type: ignore |
||
| 12 | |||
| 13 | |||
| 14 | class Question(BaseModel): |
||
| 15 | q_type: QuestionType |
||
| 16 | text: str |
||
| 17 | illustration: bool |
||
| 18 | answers: list[str] |
||
| 19 | correct_answers: set[int] |
||
| 20 | grading: GradingType | None = None |
||
| 21 | |||
| 51 |