optional, groups.

        If `only` is set to True, then only the given groups will be selected.
        r