pysepal.solara.utils.get_current_drive_interface#
- pysepal.solara.utils.get_current_drive_interface()[source]#
Returns Drive interface for the current kernel session.
If session manager is not initialized (e.g. running in a notebook), returns a shared fallback GDriveInterface 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: