laborchestrator.start_up.default_config module

Contains the default values for orchestrator startup. Provide a python file overwriting the defaults to change them. See the adaption template for an example.

class laborchestrator.start_up.default_config.LabOrchestratorConfig(reader: str = 'PythonLab', worker_type: Type[laborchestrator.engine.worker_interface.BaseWorker] = <class 'laborchestrator.engine.worker_interface.BaseWorker'>, default_scheduling_time: int = 1, dash_port: int = 8050, process_module: module = <module 'example_processes' from '/builds/OpenLabAutomation/lab-automation-packages/laborchestrator/laborchestrator/start_up/example_processes/__init__.py'>, arm_open: bool = True, db_open: bool = True, browser_open: bool = True, lab_config_file: str = '/builds/OpenLabAutomation/lab-automation-packages/laborchestrator/laborchestrator/start_up/default_lab_config.yml', scheduling_algorithm: str = 'BottleneckPD', db_client: laborchestrator.database_integration.status_db_interface.StatusDBInterface | None = None, device_colors: Optional[Dict[str, str]]=None)[source]

Bases: object

arm_open: bool = True
browser_open: bool = True
dash_port: int = 8050
db_client: StatusDBInterface | None = None
db_open: bool = True
default_scheduling_time: int = 1
device_colors: Dict[str, str] | None = None
lab_config_file: str = '/builds/OpenLabAutomation/lab-automation-packages/laborchestrator/laborchestrator/start_up/default_lab_config.yml'
process_module: ModuleType = <module 'example_processes' from '/builds/OpenLabAutomation/lab-automation-packages/laborchestrator/laborchestrator/start_up/example_processes/__init__.py'>
reader: str = 'PythonLab'
scheduling_algorithm: str = 'BottleneckPD'
worker_type

alias of BaseWorker

laborchestrator.start_up.default_config.load_default_process_module() ModuleType[source]

Load the test_data module from the tests directory.