spinfirecontext.py — Context Module
Holds the script execution context. Every other spinfireapi module calls import spinfirecontext and reads spinfirecontext.ScriptManager to reach the active SpinFire session (except OpenFile and OpenFiles, which use only DefaultScriptManager) — this module has no functions of its own, just two module-level variables.
Variables
Variable |
Description |
|---|---|
|
The active |
|
The default |
Both variables start as None in the source and are populated by the SpinFire host at runtime — they are not meant to be set by script authors.