pysepal.solara.runtime_context#
Runtime scope identity for pysepal Solara, Voila and notebook state.
A scope id names the runtime that owns a session, a UI state or a
notification bus: a Solara-server virtual kernel, a Voila or Jupyter kernel,
or the process itself when there is no per-connection runtime at all. One
name, one resolver – kernel_id and runtime_id were the same value
under two other names.
Module Attributes
|
Scope id used when no per-connection runtime can be resolved. |
Functions
Return a scope id for the current runtime, always. |
|
Return the current per-connection runtime's scope id. |
|
Raised when pysepal cannot resolve a per-connection app runtime. |