示例#1
0
文件: user.py 项目: kadmelia/Caliopen
 def get(self):
     """Get information about logged user."""
     user_id = self.request.authenticated_userid.user_id
     user = User.get(user_id)
     return ReturnUser.build(user).serialize()
示例#2
0
文件: user.py 项目: CaliOpen/Caliopen
 def get(self):
     """Get information about logged user."""
     user_id = self.request.authenticated_userid.user_id
     user = User.get(user_id)
     return ReturnUser.build(user).serialize()