labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_base module

class labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_base.LabConfigurationControllerBase(parent_server: Server)[source]

Bases: FeatureImplementationBase, ABC

abstractmethod ConfigureJobShop(JobShop: list[Machine], *, metadata: MetadataDict) ConfigureJobShop_Responses[source]
Sets the Job-Shop (set of devices in the lab) for the scheduler.

It will be kept until this method is called again.

Parameters:
  • JobShop – A list of machines/devices available in the job-shop/laboratory to schedule operations on.

  • metadata – The SiLA Client Metadata attached to the call

abstractmethod LoadJobShopFromFile(ConfigurationFile: str, *, metadata: MetadataDict) LoadJobShopFromFile_Responses[source]

Sets the Job-Shop (set of devices in the lab) for the scheduler. It will be kept until this method is called again. You can also use the ConfigureJobShop method which only uses basic types to achieve the same result.

Parameters:
  • ConfigurationFile – A yaml file in a specific format describing what machines of which capabilities should be used to schedule experiments on. This should be the file content and not the file location.

  • 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>
abstractmethod get_CurrentJobShop(*, metadata: MetadataDict) list[Machine][source]

The currently used job-shop

Parameters:

metadata – The SiLA Client Metadata attached to the call

Returns:

The currently used job-shop

parent_server: Server

SiLA Server serving this feature implementation