laborchestrator.sila_server.generated.laborchestratorservice.laborchestratorservice_base module¶
- class laborchestrator.sila_server.generated.laborchestratorservice.laborchestratorservice_base.LabOrchestratorServiceBase(parent_server: Server)[source]¶
Bases:
FeatureImplementationBase,ABC- abstractmethod GetStatus(ProcessName: str, *, metadata: MetadataDict) GetStatus_Responses[source]¶
Returns the status of the specified process
- Parameters:
ProcessName – Name of the process
metadata – The SiLA Client Metadata attached to the call
- Returns:
ProcessStatus: Status of the process
- abstractmethod LoadLabConfiguration(LabConfigurationName: str, *, metadata: MetadataDict) LoadLabConfiguration_Responses[source]¶
Load a Lab Configuration from Database
- Parameters:
LabConfigurationName – Name of Lab Configuration to be loaded from the (LARA) database
metadata – The SiLA Client Metadata attached to the call
- abstractmethod LoadLabConfigurationFile(LabConfigurationFileName: str, *, metadata: MetadataDict) LoadLabConfigurationFile_Responses[source]¶
Load a Lab Configuration from YAML file
- Parameters:
LabConfigurationFileName – Filename of Lab Configuration to be loaded - in YAML format.
metadata – The SiLA Client Metadata attached to the call
- abstractmethod LoadProcess(LabProcessName: str, *, metadata: MetadataDict) LoadProcess_Responses[source]¶
Load a pythonLab Process
- Parameters:
LabProcessName – Name of the Labprocess in the LARA database
metadata – The SiLA Client Metadata attached to the call
- abstractmethod LoadProcessFile(LabProcessFileName: str, *, metadata: MetadataDict) LoadProcessFile_Responses[source]¶
Load a pythonLab Process file
- Parameters:
LabProcessFileName – Filenname of the Labprocess
metadata – The SiLA Client Metadata attached to the call
- Returns:
Name: Unique name given to the process. Can be used to reference this process.
- abstractmethod StartProcess(ProcessName: str, *, metadata: MetadataDict) StartProcess_Responses[source]¶
Starts a given process
- Parameters:
ProcessName – Name of the process to start
metadata – The SiLA Client Metadata attached to the call
- abstractmethod StopProcess(ProcessName: str, *, metadata: MetadataDict) StopProcess_Responses[source]¶
Stops a given process
- Parameters:
ProcessName – Name of the process to stop
metadata – The SiLA Client Metadata attached to the call
- __is_running: bool¶
- __periodic_funcs: List[Callable[[], None]]¶
- __started: bool¶
- _abc_impl = <_abc._abc_data object>¶