(self, with_valid=False)
| 302 | return [] |
| 303 | |
| 304 | def one(self, with_valid=False): |
| 305 | if with_valid: |
| 306 | self.is_valid(raise_exception=True) |
| 307 | return { |
| 308 | **ParagraphSerializer(QuerySet(model=Paragraph).get(id=self.data.get("paragraph_id"))).data, |
| 309 | "problem_list": self.get_problem_list(), |
| 310 | } |
| 311 | |
| 312 | def delete(self, with_valid=False): |
| 313 | if with_valid: |
no test coverage detected