def set(
        self,
        flag: Union[Feature, str],
        *,
        value: Optional[bool] = None,
        freeze: bool = False,
    ) -> bool:
        """Get/Set the given feature flag to the given value.

        Sets the flag to the given value if the value parameter is set. Freezes
        the flag if the freeze parameter is set to True.

        Raises:
            ValueError: If the flag was already frozen to a different value.
        """

        return self.settings[Feature(flag)].set(value=value, freeze=freeze)
Get/Set the given feature flag to the given value.

        Sets the flag to the given value if the value parameter is set. Freezes
        the flag if the freeze parameter is set to True.

        Raises:
            ValueError: If the flag was already frozen to a different value.
        
src/core/trulens/core/experimental/__init__.py