pysepal.solara.session_manager.setup_sessions#

pysepal.solara.session_manager.setup_sessions()[source]#

Set up sessions management for Solara applications.

This function should be called with the @solara.lab.on_kernel_start decorator to automatically manage GEE, Drive, and Sepal sessions for your application.

Returns:

Cleanup function to be called when kernel shuts down.

Return type:

Callable