shiny.session.session_context#

shiny.session.session_context(session)#

Context manager for current session.

Parameters

session (Optional[Session]) – A Session instance. If not provided, it is inferred via get_current_session().