def generate_initial_profile_picture(user_id):
 user_email = get_email_from_user_id(user_id)
 user_gravatar = fetch_gravatar(user_email)
 update_profile_picture_data_url(user_id, user_gravatar)

def generate_initial_profile_picture ( user_id ) : user_email = get_email_from_user_id ( user_id ) user_gravatar = fetch_gravatar ( user_email ) update_profile_picture_data_url ( user_id , user_gravatar )
generates a profile picture for a new user and updates the users settings in the datastore .