Exemple #1
0
 def delete_worksheet(self, worksheet_id, modifier_id):
     worksheet = Worksheet.get_by_key(worksheet_id)
     worksheet.delete(modifier_id)
     query = Task.all()
     query.filter("worksheet_id =", worksheet_id)
     query.set("worksheet_id", EMPTY_UID)
     query.set("is_trashed", True)
     query.update(modifier_id)
     query = Worksheet.all()
     return True
Exemple #2
0
 def get_worksheet(self, worksheet_id):
     worksheet = Worksheet.get_by_key(worksheet_id)
     return worksheet