pysepal.solara.utils.get_current_session_info#
- pysepal.solara.utils.get_current_session_info()[source]#
Return the current runtime scope’s session status.
Never raises. With no manager built yet, the scope id comes straight from the runtime, since there is no session to consult; once a manager exists, resolution is delegated to it so a scope that can’t be resolved reports the process scope’s id without reading its session – see
get_session_info(). Deliberately does not instantiateSessionManager: constructing it would flipis_initialized()on for the whole process as a side effect.- Return type: