Ask a question to get started
Enter to sendā¢Shift+Enter new line
conditional_decorator( condition: bool, decorator: Callable[[Any], Any] ) -> Callable
condition
bool
decorator
Callable[[Any], Any]
Conditionally apply a decorator.
A boolean indicating whether to apply the decorator.
A decorator function.