pysepal.solara.utils.get_current_gee_interface#

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

Returns the GEE interface for the current kernel session.

If session manager is not initialized (e.g. running in a notebook), returns a shared fallback GEEInterface with an EESession without headers.

Raises:

RuntimeError – If session manager is initialized but no session exists for the current kernel (indicates a missing @with_sepal_sessions decorator).

Return type:

GEEInterface