(file_content: str)
| 21 | |
| 22 | |
| 23 | def get_question_list(file_content: str) -> List[str]: |
| 24 | details = DETAILS_PATTERN.findall(file_content) |
| 25 | return [ |
| 26 | SUMMARY_PATTERN.search(detail).group(1) |
| 27 | for detail in details |
| 28 | if SUMMARY_PATTERN.search(detail) |
| 29 | ] |
| 30 | |
| 31 | |
| 32 | def get_answered_questions(file_content: str) -> List[str]: |
no outgoing calls