Exemple #1
0
 def getEntriesOfPerson(self,id):
     person = User.get(id)
     return list(Node.selectBy(user=person))
Exemple #2
0
 def getProfileOfPerson(self,id):
     person = User.get(id)
     profile = {}
     for p in Profile.selectBy(user=person):
         profile[p.name] = p.value
     return profile
Exemple #3
0
 def getPerson(self,id):        
     return User.get(id)