def get_ticket(self):
    'Returns string identifier for the task; raises NotSavedError.'
    return self.get_ticket_by_key(self.key())
Returns string identifier for the task; raises NotSavedError.
def get_ticket(self):
    
    return self.get_ticket_by_key(self.key())