common.runtime.init
restore_run_context
def restore_run_context(run_context: SupportsRunContext,
runtime_config: RuntimeConfiguration) -> None
Restores run_context
by placing it into container and if runtime_config
is present, initializes runtime
Intended to be called by workers in a process pool.
init_telemetry
def init_telemetry(runtime_config: RuntimeConfiguration) -> None
Starts telemetry only once
apply_runtime_config
def apply_runtime_config(runtime_config: RuntimeConfiguration) -> None
Updates run context with newest runtime_config