Initializing help system before first use

ExecMode

ExecMode


Purpose
Insight execution mode decorator. Use this decorator to decorate methods of an Insight application class.
Example
Example which creates a custom execution mode called CUSTOM_RUN with a description and with clear_input set to False (making this similar to the built-in RUN execution mode).
>>> @xi.ExecMode(name="CUSTOM_RUN",
...              descr="Custom run execution mode.",
...              clear_input=False)
... def my_custom_run_mode(self):
...     pass		
Related topics