Exemplo n.º 1
0
 def prepare_all(self):
     for answer in db.select_blocks(self._query, Answer.id):
         yield answer.id, self._prepare(answer)
Exemplo n.º 2
0
 def prepare_all(self):
     for question in db.select_blocks(self._query, Question.id):
         yield question.id, self._prepare(question)
Exemplo n.º 3
0
 def prepare_all(self):
     for article in db.select_blocks(self._query, Article.id):
         yield article.id, self._prepare(article)