def notify_created_user(user_profile: UserProfile) -> None:
    user_row = user_profile_to_user_row(user_profile)
    person = format_user_row(user_profile.realm, user_profile, user_row, client_gravatar=False, user_avatar_url_field_optional=False, custom_profile_field_data={})
    event: Dict[(str, Any)] = dict(type='realm_user', op='add', person=person)
    send_event(user_profile.realm, event, active_user_ids(user_profile.realm_id))
def notify_created_user(user_profile: UserProfile) -> None:
    user_row = user_profile_to_user_row(user_profile)
    person = format_user_row(user_profile.realm, user_profile, user_row, client_gravatar=False, user_avatar_url_field_optional=False, custom_profile_field_data={})
    event: Dict[(str, Any)] = dict(type='realm_user', op='add', person=person)
    send_event(user_profile.realm, event, active_user_ids(user_profile.realm_id))