def do_remove_streams_from_default_stream_group(realm: Realm, group: DefaultStreamGroup, streams: List[Stream]) -> None:
    for stream in streams:
        if (stream not in group.streams.all()):
            raise JsonableError(_("Stream '{stream_name}' is not present in default stream group '{group_name}'").format(stream_name=stream.name, group_name=group.name))
        group.streams.remove(stream)
    group.save()
    notify_default_stream_groups(realm)
def do_remove_streams_from_default_stream_group(realm: Realm, group: DefaultStreamGroup, streams: List[Stream]) -> None:
    for stream in streams:
        if (stream not in group.streams.all()):
            raise JsonableError(_("Stream '{stream_name}' is not present in default stream group '{group_name}'").format(stream_name=stream.name, group_name=group.name))
        group.streams.remove(stream)
    group.save()
    notify_default_stream_groups(realm)