コード例 #1
0
ファイル: tests.py プロジェクト: dazbur/languagebot
 def createQuestion(self, lli_ref, question_sent, twitter_user,\
     word, answer_text, question_message_id, answer_received, answer_rating):
     q = Question()
     q.lli_ref = lli_ref
     q.question_sent = question_sent
     q.twitter_user = twitter_user
     q.word = word
     q.answer_text = answer_text
     q.question_message_id = question_message_id
     q.answer_received = answer_received
     q.answer_rating = answer_rating
     q.put()
     return q