main_multimno
Application entrypoint for launching a single component.
Usage:
python multimno/main.py <component_id> <general_config_path> <component_config_path>
- component_id: ID of the component to be executed.
- general_config_path: Path to a INI file with the general configuration of the execution.
- component_config_path: Path to a INI file with the specific configuration of the component.
build(component_id, general_config_path, component_config_path)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
component_id |
str
|
id of the component |
required |
general_config_path |
str
|
general config path |
required |
component_config_path |
str
|
component config path |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If the component_id is not supported. |
Returns:
Type | Description |
---|---|
Component
|
Component constructor. |
Source code in multimno/main_multimno.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
|