Skip to main content
atoti.experimental(
    feature_keys: Set[str] | Callable[[set[str]], Set[str]],
    /,
) → Generator[None, None, None]
Create a context allowing to use the experimental features with the passed keys.
Experimental features are subject to breaking changes in any release.

Parameters

feature_keys

The keys of the experimental features allowed to be used inside the context. If a Callable is passed, it will be called with the keys of all the experimental features and it must return the keys to allow.
By default, calling an experimental function/method raises an error:
An experimental feature can be used by passing its key to this function:
Multiple keys can be passed:
Nesting is supported too:
Once a feature is stabilized, passing its key to this function will raise a deprecation warning:
Passing a key that does not match any feature will raise an error: