labscheduler.sila_server.generated.labconfigurationcontroller package¶
Submodules¶
- labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_base module
LabConfigurationControllerBaseLabConfigurationControllerBase.ConfigureJobShop()LabConfigurationControllerBase.LoadJobShopFromFile()LabConfigurationControllerBase.__is_runningLabConfigurationControllerBase.__periodic_funcsLabConfigurationControllerBase.__startedLabConfigurationControllerBase._abc_implLabConfigurationControllerBase.get_CurrentJobShop()LabConfigurationControllerBase.parent_server
- labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_client module
- labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_errors module
- labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_feature module
- labscheduler.sila_server.generated.labconfigurationcontroller.labconfigurationcontroller_types module
Module contents¶
- class labscheduler.sila_server.generated.labconfigurationcontroller.ConfigureJobShop_Responses[source]¶
Bases:
NamedTuple- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ()¶
- classmethod _make(iterable)¶
Make a new ConfigureJobShop_Responses object from a sequence or iterable
- _replace(**kwds)¶
Return a new ConfigureJobShop_Responses object replacing specified fields with new values
- exception labscheduler.sila_server.generated.labconfigurationcontroller.FileFormatError(message: str | None = None)[source]¶
Bases:
DefinedExecutionError- _abc_impl = <_abc._abc_data object>¶
- class labscheduler.sila_server.generated.labconfigurationcontroller.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
- _abc_impl = <_abc._abc_data object>¶
- class labscheduler.sila_server.generated.labconfigurationcontroller.LabConfigurationControllerClient[source]¶
Bases:
object- This feature is used to configure the lab environment (called JobShop in this context),
the scheduler can use to schedule processes on.
- ConfigureJobShop(JobShop: list[Machine], *, metadata: Iterable[ClientMetadataInstance] | None = None) 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.
- LoadJobShopFromFile(ConfigurationFile: str, *, metadata: Iterable[ClientMetadataInstance] | None = None) 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.
- class labscheduler.sila_server.generated.labconfigurationcontroller.LoadJobShopFromFile_Responses[source]¶
Bases:
NamedTuple- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ()¶
- classmethod _make(iterable)¶
Make a new LoadJobShopFromFile_Responses object from a sequence or iterable
- _replace(**kwds)¶
Return a new LoadJobShopFromFile_Responses object replacing specified fields with new values
- labscheduler.sila_server.generated.labconfigurationcontroller.Machine¶
alias of
Any