(self)
| 32 | return session.query(Comment).filter(Comment.id == id).first() |
| 33 | |
| 34 | def serialize(self): |
| 35 | return { |
| 36 | 'id' : self.id, |
| 37 | 'user' : self.user.serialize_for_activity(), |
| 38 | 'discussion_id' : self.discussion_id, |
| 39 | 'content' : self.content |
| 40 | } |
nothing calls this directly
no test coverage detected