def add_comment(self, content, author): self.add_participant(author) comment = TicketComment.add(self.id, content, author) return comment
def get_comments(self): comments = TicketComment.gets_by_ticketid(self.id) return comments