def do_send_user_group_update_event(user_group: UserGroup, data: Dict[(str, Any)]) -> None:
    event = dict(type='user_group', op='update', group_id=user_group.id, data=data)
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))
def do_send_user_group_update_event(user_group: UserGroup, data: Dict[(str, Any)]) -> None:
    event = dict(type='user_group', op='update', group_id=user_group.id, data=data)
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))