except_decorator
ΒΆ
Eception Decorator (qurry.tools.except_decorator
)
- qurry.tools.except_decorator.unproven_feature(message=None)[source]ΒΆ
The decorator to mark a function or class as an unproven feature.
- Parameters:
message (Optional[str]) β The warning message to be displayed. If not provided, a default message will be used. The default message is: βThis feature is unproven and may be unstable or behave inconsistently. Use with caution.β
- Return type:
Union[Callable, Type]
Examples
>>> @unproven_feature ... def my_experimental_function(): ... pass
>>> @unproven_feature(message="This is a custom message.") ... class MyExperimentalClass: ... pass