more cid user anatomy testing
This commit is contained in:
+9
-1
@@ -199,7 +199,15 @@ class AnatomyQuestion(models.Model):
|
||||
)
|
||||
)
|
||||
|
||||
def get_unmarked_user_answers(self, exam_pk=None):
|
||||
def get_unmarked_user_answers(self, exam_pk: int|None = None):
|
||||
"""_summary_
|
||||
|
||||
Args:
|
||||
exam_pk (_type_, optional): _description_. Defaults to None.
|
||||
|
||||
Returns:
|
||||
set: set of unmarked user strings
|
||||
"""
|
||||
if exam_pk is None:
|
||||
user_answers = set([i.answer_compare for i in self.cid_user_answers.all()])
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user