@gen.coroutine
def _QueryUsersForArchive(client, requesting_user_id, user_ids):
 user_friend_list = (yield gen.Task(User.QueryUsers, client, requesting_user_id, user_ids))
 user_dicts = (yield [gen.Task(user.MakeUserMetadataDict, client, requesting_user_id, forward_friend, reverse_friend) for (user, forward_friend, reverse_friend) in user_friend_list])
 response = {'users': user_dicts}
 raise gen.Return(response)

@ gen . coroutine def _QueryUsersForArchive ( client , requesting_user_id , user_ids ) : user_friend_list = ( yield gen . Task ( User . QueryUsers , client , requesting_user_id , user_ids ) ) user_dicts = ( yield [ gen . Task ( user . MakeUserMetadataDict , client , requesting_user_id , forward_friend , reverse_friend ) for ( user , forward_friend , reverse_friend ) in user_friend_list ] ) response = { 'users' : user_dicts } raise gen . Return ( response )
queries users by user id .