def delete_ticket(self, ticket_id):
        self.engine.execute(self.occurrences.delete()
                            .where(self.occurrences.c.ticket_id == ticket_id))
        self.engine.execute(self.tickets.delete()
                            .where(self.tickets.c.ticket_id == ticket_id))
Deletes a ticket from the database.
dataset/ETHPy150Open getlogbook/logbook/logbook/ticketing.py/SQLAlchemyBackend.delete_ticket