pysepal.solara.utils.get_current_gee_interface#

pysepal.solara.utils.get_current_gee_interface()[source]#

Returns the GEE interface for the current runtime.

Under an app-launcher Solara server every connection gets its own interface, built from that connection’s SEPAL headers. A SEPAL sandbox, Voila, plain Jupyter and plain scripts share one process-wide interface built from the machine’s own credentials – which in those runtimes belong to exactly one user.

Returns:

The interface for this runtime.

Raises:

SepalSessionError – A per-connection runtime has no session, i.e. the Page component is missing @with_sepal_sessions.

Return type:

GEEInterface