7.2.8.19.1. __init__¶
- SubDispatch.__init__(dsp, outputs=None, inputs_dist=None, wildcard=False, no_call=False, shrink=False, rm_unused_nds=False, output_type='all', function_id=None, output_type_kw=None)[source]
Initializes the Sub-dispatch.
- Parameters:
dsp (schedula.Dispatcher | schedula.utils.blue.BlueDispatcher) – A dispatcher that identifies the model adopted.
inputs_dist (dict[str, int | float], optional) – Initial distances of input data nodes.
wildcard (bool, optional) – If True, when the data node is used as input and target in the ArciDispatch algorithm, the input value will be used as input for the connected functions, but not as output.
no_call (bool, optional) – If True data node estimation function is not used.
shrink (bool, optional) – If True the dispatcher is shrink before the dispatch.
rm_unused_nds (bool, optional) – If True unused function and sub-dispatcher nodes are removed from workflow.
output_type (str, optional) –
Type of function output:
’all’: a dictionary with all dispatch outputs.
’list’: a list with all outputs listed in outputs.
’dict’: a dictionary with any outputs listed in outputs.
output_type_kw (dict, optional) – Extra kwargs to pass to the selector function.
function_id (str, optional) – Function name.