sepal_ui.scripts.decorator#
Decorators used in sepal-ui.
used for multiple use-case sucha as (but not limited): - catch errors in scripts to avoid Voila app freeze - redirect error to a specific Alert object - Initialize EE - debug widgets …
Functions
Decorator to execute try/except sentence and catch errors in the alert message. |
|
Initialize earth engine according to the environment. |
|
Decorator to execute try/except sentence and toggle loading button object. |
|
Decorator to execute check if the object require EE binding. |
|
Decorator to switch the state of input boolean parameters on class widgets or the class itself. |