Functions#
- get_default_arch() str #
Returns the canonical name for the arch of the current machine.
- Returns:
an arch string
- get_supported_arches() list[str] #
Returns the canonical names for the arches that are supported (i.e. can run) on the current machine, in order of priority (default is first).
- Returns:
a zero terminated array of arch strings
- get_system_installations(cancellable: Cancellable | None = None) list[Installation] #
Lists the system installations according to the current configuration and current availability (e.g. doesn’t return a configured installation if not reachable).
Added in version 0.8.
- Parameters:
cancellable – a
Cancellable
- Returns:
a GPtrArray of
Installation
instances
- transaction_operation_type_to_string(kind: TransactionOperationType) str #
- Parameters:
kind