コード例 #1
0
ファイル: tweet_dao.py プロジェクト: DEV3L/archive
 def find_by_id(self, tweet_id):
     json = self._mongo_database.get(self.collection, tweet_id)
     tweet_model = Tweet('')
     tweet_model.from_json(json)
     return tweet_model