smah.settings.system.operating_system
- class smah.settings.system.operating_system.OperatingSystem(config_data=None)[source]
Bases:
object- CONFIG_VSN: str = '0.0.1'
- static config_vsn() str[source]
Returns the version of the configuration.
- Returns:
The version of the configuration.
- Return type:
str
- is_configured()[source]
Checks if the system is configured.
- Returns:
True if the system is configured, False otherwise.
- Return type:
bool
- static load_info(config_data: dict | None) BaseInfo | None[source]
Loads OS-specific details from the configuration data.
- Parameters:
config_data (dict) – The configuration data.
- Returns:
The OS-specific details.
- Return type:
object
- smah.settings.system.operating_system.operating_system_terminal_configurator(operating_system: OperatingSystem | None) OperatingSystem[source]
Modules