Ejemplo n.º 1
0
 def delete_groupversion(self, version_id, modifier_id):
     groupversion = GroupVersion.get_by_key(version_id)
     groupversion.delete(modifier_id)
     from task.taskservice import TaskService
     TaskService.get_instance().delete_taskversions(modifier_id, version_id=version_id)
     return True
Ejemplo n.º 2
0
 def fetch_groupversions(self, group_id):
     query = GroupVersion.all()
     query.filter("group_id =", group_id)
     return query.fetch()