@require_role
def get_session_user_info(request):
 return [request.user.id, request.user.username, request.user]

@ require_role def get_session_user_info ( request ) : return [ request . user . id , request . user . username , request . user ]
get the user info of the user in session .