def get(self, question_id): answers = AnswerModel.find_by_question(question_id) if answers is None: return {"message": "No answers found for this quiz."}, 404 return [answer.json() for answer in answers], 200