Beispiel #1
0
   def getAllColleges(self, request):
        print("Entered get all colleges Portion")
        newList = []
        colleges = CollegeDb.query()
        for x in colleges:
          if(str(x.key.id()) != '5720605454237696' and str(x.key.id()) != '5743114304094208'):
             newList.append(x)

        return Colleges(collegeList=[getColleges(x) for x in newList])
Beispiel #2
0
 def getAllColleges(self, request):
      print("Entered get all colleges Portion")
      colleges = CollegeDb.query()
      return Colleges(collegeList=[getColleges(x) for x in colleges])