Skip to content

Commit

Permalink
Merge pull request #101 from avantifellows/review_ans
Browse files Browse the repository at this point in the history
Adds key to check whether reviewing answers is allowed
  • Loading branch information
suryabulusu authored Aug 24, 2023
2 parents b757864 + fcc95a6 commit c961c1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class QuizMetadata(BaseModel):
topic: Optional[str]
source: Optional[str]
source_id: Optional[str]
session_end_time: Optional[str] # format: %Y-%m-%d %I:%M:%S %p


class Question(BaseModel):
Expand Down Expand Up @@ -199,6 +200,7 @@ class Quiz(BaseModel):
shuffle: bool = False
num_attempts_allowed: int = 1
time_limit: Optional[QuizTimeLimit] = None
always_review_answers: Optional[bool] = True
navigation_mode: NavigationMode = "linear"
instructions: Optional[str] = None
language: QuizLanguage = "en"
Expand Down

0 comments on commit c961c1d

Please sign in to comment.