sepal_ui.scripts.decorator.need_ee#
- sepal_ui.scripts.decorator.need_ee(func)[source]#
Decorator to execute check if the object require EE binding.
Trigger an exception if the connection is not possible.
- Parameters:
func (Callable) – the object on which the decorator is applied
- Returns:
The return statement of the decorated method
- Return type:
Any
New in version 3.0: moved from utils to a dedicated module
Deprecated since version 3.0: use sepal_ui.scripts.decorator.need_ee instead