def add_commits(self, commits, author): commit = TicketCommits.add(self.id, commits, author) return commit
def get_commits(self): return TicketCommits.gets_by_ticketid(self.id)