ExecMode.__init__
ExecMode.__init__ |
Purpose
Constructor for the execution mode decorator for user-defined execution modes.
Synopsis
__init__(self, name: str, descr: str = '', clear_input: bool = False, preferred_service: str = '')
Arguments
name
|
User-defined execution mode name. Must be a valid identifier (alphanumeric characters only, starting with a letter).
|
descr
|
A description of the execution mode.
|
clear_input
|
Whether this execution mode causes data to be loaded directly by the model, rather than from the Insight server. If
True, then this execution behaves like the default load mode, else behaves like the default run mode.
|
preferred_service
|
Preferred service for this execution mode.
|