| Conditions | 1 |
| Total Lines | 15 |
| Code Lines | 14 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | from src.moodle_to_vikwikiquiz.grading_types import GradingType |
||
| 6 | def __init__( |
||
| 7 | self, |
||
| 8 | q_type: QuestionType, |
||
| 9 | text: str, |
||
| 10 | illustration: bool, |
||
| 11 | answers: list[str], |
||
| 12 | correct_answers: list[int], |
||
| 13 | grading: GradingType | None = None, |
||
| 14 | ): |
||
| 15 | self.q_type = q_type |
||
| 16 | self.text = text |
||
| 17 | self.illustration = illustration |
||
| 18 | self.grading = grading |
||
| 19 | self.answers = answers |
||
| 20 | self.correct_answers = correct_answers |
||
| 21 | |||
| 46 |