Skip to content

Commit

Permalink
Add support to configure module model solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael-Lenander authored and markkuriekkinen committed Sep 19, 2023
1 parent a76e195 commit ced2c56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions access/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ class Module(Parent):
late_penalty: NotRequired[Float0to1]
late_duration: NotRequired[AnyDuration]
numerate_ignoring_modules: NotRequired[bool]
model_answer: NotRequired[str]
reveal_module_model_solution: NotRequired[RevealRuleOptions]

@root_validator(allow_reuse=True, pre=True)
def name_or_title(cls, values: Dict[str, Any]):
Expand Down

0 comments on commit ced2c56

Please sign in to comment.