|
|
@@ -46,7 +46,7 @@ class Query (Model): |
|
|
|
def answer_histories ( |
|
|
|
self, |
|
|
|
) -> list[Answer]: |
|
|
|
return [x.answer for x in self.has_many (QueryAnswerHistory)] |
|
|
|
return [x.answer for x in self.has_many (QueryAnswerHistory).get ()] |
|
|
|
|
|
|
|
|
|
|
|
class QueryAnswerHistory (Model): |
|
|
|