

def _on_get_user_info(self, future, session, fields, user):
    if (user is None):
        future.set_result(None)
        return
    fieldmap = {
        
    }
    for field in fields:
        fieldmap[field] = user.get(field)
    fieldmap.update({
        'access_token': session['access_token'],
        'session_expires': session.get('expires'),
    })
    future.set_result(fieldmap)

dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/auth.py FacebookGraphMixin._on_get_user_info/original