generics.experimental
generics.experimental(obj)
Decorator to mark functions or classes as experimental.
This decorator will show a warning when the decorated object is first used, indicating that it is experimental and may change in future versions.
Parameters
Name | Type | Description | Default |
---|---|---|---|
obj | Callable | The class or function to mark as experimental | required |
Returns
Name | Type | Description |
---|---|---|
Callable | The decorated class or function |