def set_multiple(
        self,
        flags: Union[
            Iterable[Union[str, Feature]],
            Mapping[Union[str, Feature], bool],
        ],
        freeze: bool = False,
    ):
        """Set multiple feature flags.

        If freeze is set, freeze the flags. If a dictionary is passed, the keys
        are the feature flags and the values are the values to set them to. If a
        list is passed, the flags are set to True.

        Raises:
            ValueError: If any of the flags are already frozen to a different
                value than specified.
        """

        if isinstance(flags, dict):
            for flag, val in flags.items():
                self.set(flag, value=val, freeze=freeze)
        else:
            for flag in flags:
                self.set(flag, value=True, freeze=freeze)
Set multiple feature flags.

        If freeze is set, freeze the flags. If a dictionary is passed, the keys
        are the feature flags and the values are the values to set them to. If a
        list is passed, the flags are set to True.

        Raises:
            ValueError: If any of the flags are already frozen to a different
                value than specified.
        
src/core/trulens/core/experimental/__init__.py