def author_structure(user):
 return {'user_id': user.pk, 'user_login': user.get_username(), 'display_name': user.__str__(), 'user_email': user.email}

def author_structure ( user ) : return { 'user_id' : user . pk , 'user_login' : user . get_username ( ) , 'display_name' : user . __str__ ( ) , 'user_email' : user . email }
an author structure .