pysepal.solara.session_manager.can_create_sessions#

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

Whether a SEPAL session can exist for the current runtime at all.

create_session needs solara’s request headers. Voila, plain Jupyter and plain scripts never have them, so a missing session there is expected rather than a forgotten @with_sepal_sessions – callers should degrade to their headerless fallback instead of raising.

Return type:

bool